@@ -171,9 +171,9 @@ mod sealed {
171
171
, , , , , , , , ,
172
172
// Byte 17
173
173
AnchorZeroFeeCommitmentsStaging ,
174
- // Byte 18 - 130
175
- , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
176
- // Byte 131
174
+ // Byte 18
175
+ ,
176
+ // Byte 19
177
177
HtlcHold ,
178
178
]
179
179
) ;
@@ -200,14 +200,14 @@ mod sealed {
200
200
, , , , , , , , ,
201
201
// Byte 17
202
202
AnchorZeroFeeCommitmentsStaging ,
203
- // Byte 18 - 31
204
- , , , , , , , , , , , , , ,
203
+ // Byte 18
204
+ ,
205
+ // Byte 19
206
+ HtlcHold ,
207
+ // Byte 20 - 31
208
+ , , , , , , , , , , , ,
205
209
// Byte 32
206
210
DnsResolver ,
207
- // Byte 33 - 130
208
- , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
209
- // Byte 131
210
- HtlcHold ,
211
211
]
212
212
) ;
213
213
define_context ! ( ChannelContext , [ ] ) ;
@@ -710,6 +710,17 @@ mod sealed {
710
710
supports_anchor_zero_fee_commitments,
711
711
requires_anchor_zero_fee_commitments
712
712
) ;
713
+ define_feature ! (
714
+ 153 , // The BOLTs PR uses feature bit 52/53, so add +100 for the experimental bit
715
+ HtlcHold ,
716
+ [ InitContext , NodeContext ] ,
717
+ "Feature flags for holding HTLCs and forwarding on receipt of an onion message" ,
718
+ set_htlc_hold_optional,
719
+ set_htlc_hold_required,
720
+ clear_htlc_hold,
721
+ supports_htlc_hold,
722
+ requires_htlc_hold
723
+ ) ;
713
724
define_feature ! (
714
725
259 ,
715
726
DnsResolver ,
@@ -721,17 +732,6 @@ mod sealed {
721
732
supports_dns_resolution,
722
733
requires_dns_resolution
723
734
) ;
724
- define_feature ! (
725
- 1053 , // The BOLTs PR uses feature bit 52/53, so add +1000 for the experimental bit
726
- HtlcHold ,
727
- [ InitContext , NodeContext ] ,
728
- "Feature flags for holding HTLCs and forwarding on receipt of an onion message" ,
729
- set_htlc_hold_optional,
730
- set_htlc_hold_required,
731
- clear_htlc_hold,
732
- supports_htlc_hold,
733
- requires_htlc_hold
734
- ) ;
735
735
736
736
// Note: update the module-level docs when a new feature bit is added!
737
737
0 commit comments