Skip to content

Commit 4e79eb5

Browse files
committed
Introduce nonzero fee anchors feature.
1 parent ae9e96e commit 4e79eb5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lightning/src/ln/features.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ mod sealed {
196196
// Byte 1
197197
StaticRemoteKey,
198198
// Byte 2
199-
AnchorsZeroFeeHtlcTx,
199+
AnchorsNonzeroFeeHtlcTx | AnchorsZeroFeeHtlcTx,
200200
// Byte 3
201201
,
202202
// Byte 4
@@ -378,6 +378,9 @@ mod sealed {
378378
define_feature!(19, Wumbo, [InitContext, NodeContext],
379379
"Feature flags for `option_support_large_channel` (aka wumbo channels).", set_wumbo_optional, set_wumbo_required,
380380
supports_wumbo, requires_wumbo);
381+
define_feature!(21, AnchorsNonzeroFeeHtlcTx, [ChannelTypeContext],
382+
"Feature flags for `option_anchors_nonzero_fee_htlc_tx`.", set_anchors_nonzero_fee_htlc_tx_optional,
383+
set_anchors_nonzero_fee_htlc_tx_required, supports_anchors_nonzero_fee_htlc_tx, requires_anchors_nonzero_fee_htlc_tx);
381384
define_feature!(23, AnchorsZeroFeeHtlcTx, [InitContext, NodeContext, ChannelTypeContext],
382385
"Feature flags for `option_anchors_zero_fee_htlc_tx`.", set_anchors_zero_fee_htlc_tx_optional,
383386
set_anchors_zero_fee_htlc_tx_required, supports_anchors_zero_fee_htlc_tx, requires_anchors_zero_fee_htlc_tx);

0 commit comments

Comments
 (0)