Skip to content

Commit d40150e

Browse files
committed
f add more details on ConfirmationTarget
1 parent 05c317b commit d40150e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
* `ConfirmationTarget` has been rewritten to provide information about the
99
specific use LDK needs the feerate estimate for, rather than the generic
1010
low-, medium-, and high-priority estimates. This allows LDK users to more
11-
accurately target their feerate estimates (#2660).
11+
accurately target their feerate estimates (#2660). For those wishint to
12+
retain their existing behavior, see the table below for conversion.
1213
* `ChainHash` is now used in place of `BlockHash` where it represents the
1314
genesis block (#2662).
1415
* `lightning-invoice` payment utilities now take a `Deref` to
@@ -18,6 +19,16 @@
1819
* `Display` is now implemented for `Outpoint` (#2649).
1920
* `Features::from_be_bytes` is now provided (#2640).
2021

22+
For those moving to the new `ConfirmationTarget`, the new variants in terms of
23+
the old mempool/low/medium/high priorities are as follows:
24+
* OnChainSweep = HighPriority
25+
* MaxAllowedNonAnchorChannelRemoteFee = max(25 * 250, HighPriority * 10)
26+
* MinAllowedAnchorChannelRemoteFee = MempoolMinimum
27+
* MinAllowedNonAnchorChannelRemoteFee = Background - 250
28+
* AnchorChannelFee = Background
29+
* NonAnchorChannelFee = Normal
30+
* ChannelCloseMinimum = Background
31+
2132
## Bug Fixes
2233
* Calling `ChannelManager::close_channel[_with_feerate_and_script]` on a
2334
channel which did not exist would immediately hang holding several key

0 commit comments

Comments
 (0)