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
5256//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information).
5357//! - `Keysend` - send funds to a node without an invoice
5458//! (see the [`Keysend` feature assignment proposal](https://github.com/lightning/bolts/issues/605#issuecomment-606679798) for more information).
55- //! - `AnchorsZeroFeeHtlcTx` - requires/supports that commitment transactions include anchor outputs
56- //! and HTLC transactions are pre-signed with zero fee (see
57- //! [BOLT-3](https://github.com/lightning/bolts/blob/master/03-transactions.md) for more
58- //! information).
5959//!
6060//! [BOLT #9]: https://github.com/lightning/bolts/blob/master/09-features.md
6161//! [messages]: crate::ln::msgs
@@ -840,12 +840,12 @@ mod tests {
840840 init_features. set_payment_secret_required ( ) ;
841841 init_features. set_basic_mpp_optional ( ) ;
842842 init_features. set_wumbo_optional ( ) ;
843+ init_features. set_anchors_zero_fee_htlc_tx_optional ( ) ;
843844 init_features. set_shutdown_any_segwit_optional ( ) ;
844845 init_features. set_onion_messages_optional ( ) ;
845846 init_features. set_channel_type_optional ( ) ;
846847 init_features. set_scid_privacy_optional ( ) ;
847848 init_features. set_zero_conf_optional ( ) ;
848- init_features. set_anchors_zero_fee_htlc_tx_optional ( ) ;
849849
850850 assert ! ( init_features. initial_routing_sync( ) ) ;
851851 assert ! ( !init_features. supports_upfront_shutdown_script( ) ) ;
@@ -856,7 +856,7 @@ mod tests {
856856 // Check that the flags are as expected:
857857 // - option_data_loss_protect
858858 // - var_onion_optin (req) | static_remote_key (req) | payment_secret(req)
859- // - basic_mpp | wumbo
859+ // - basic_mpp | wumbo | option_anchors_zero_fee_htlc_tx
860860 // - opt_shutdown_anysegwit
861861 // - onion_messages
862862 // - option_channel_type | option_scid_alias
0 commit comments