4141//! (see [BOLT-4](https://github.com/lightning/bolts/blob/master/04-onion-routing.md#basic-multi-part-payments) for more information).
4242//! - `Wumbo` - requires/supports that a node create large channels. Called `option_support_large_channel` in the spec.
4343//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-open_channel-message) for more information).
44+ //! - `AnchorsZeroFeeHtlcTx` - requires/supports that commitment transactions include anchor outputs
45+ //! and HTLC transactions are pre-signed with zero fee (see
46+ //! [BOLT-3](https://github.com/lightning/bolts/blob/master/03-transactions.md) for more
47+ //! information).
4448//! - `ShutdownAnySegwit` - requires/supports that future segwit versions are allowed in `shutdown`
4549//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information).
4650//! - `OnionMessages` - requires/supports forwarding onion messages
6064//! for more info).
6165//! - `Keysend` - send funds to a node without an invoice
6266//! (see the [`Keysend` feature assignment proposal](https://github.com/lightning/bolts/issues/605#issuecomment-606679798) for more information).
63- //! - `AnchorsZeroFeeHtlcTx` - requires/supports that commitment transactions include anchor outputs
64- //! and HTLC transactions are pre-signed with zero fee (see
65- //! [BOLT-3](https://github.com/lightning/bolts/blob/master/03-transactions.md) for more
66- //! information).
6767//!
6868//! [BOLT #9]: https://github.com/lightning/bolts/blob/master/09-features.md
6969//! [messages]: crate::ln::msgs
@@ -881,12 +881,12 @@ mod tests {
881881 init_features. set_payment_secret_required ( ) ;
882882 init_features. set_basic_mpp_optional ( ) ;
883883 init_features. set_wumbo_optional ( ) ;
884+ init_features. set_anchors_zero_fee_htlc_tx_optional ( ) ;
884885 init_features. set_shutdown_any_segwit_optional ( ) ;
885886 init_features. set_onion_messages_optional ( ) ;
886887 init_features. set_channel_type_optional ( ) ;
887888 init_features. set_scid_privacy_optional ( ) ;
888889 init_features. set_zero_conf_optional ( ) ;
889- init_features. set_anchors_zero_fee_htlc_tx_optional ( ) ;
890890
891891 assert ! ( init_features. initial_routing_sync( ) ) ;
892892 assert ! ( !init_features. supports_upfront_shutdown_script( ) ) ;
@@ -897,7 +897,7 @@ mod tests {
897897 // Check that the flags are as expected:
898898 // - option_data_loss_protect (req)
899899 // - var_onion_optin (req) | static_remote_key (req) | payment_secret(req)
900- // - basic_mpp | wumbo
900+ // - basic_mpp | wumbo | option_anchors_zero_fee_htlc_tx
901901 // - opt_shutdown_anysegwit
902902 // - onion_messages
903903 // - option_channel_type | option_scid_alias
0 commit comments