Commit 43d8fa1
committed
Expose channel_funding_fee_sats_per_kwu on Node
Add a narrow public accessor that returns the current ChannelFunding
fee-rate estimate in sat/kwu. The underlying OnchainFeeEstimator and
ConfirmationTarget remain pub(crate); this method gives downstream
callers (mdkd's auto-splice manager) just the scalar they need to
budget on-chain fees for splice transactions without depending on
internal types.
Returning sat/kwu rather than a FeeRate struct keeps the surface
type-stable across bitcoin/rust-lightning bumps and matches the unit
ldk-node already uses internally for ChannelFunding.
NOTE: Can drop this commit after upgrading fork to 0.8.01 parent 5baa1f8 commit 43d8fa1
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1798 | 1798 | | |
1799 | 1799 | | |
1800 | 1800 | | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
1801 | 1812 | | |
1802 | 1813 | | |
1803 | 1814 | | |
| |||
0 commit comments