|
35 | 35 | //! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-open_channel-message) for more information).
|
36 | 36 | //! - `GossipQueries` - requires/supports more sophisticated gossip control
|
37 | 37 | //! (see [BOLT-7](https://github.com/lightning/bolts/blob/master/07-routing-gossip.md) for more information).
|
| 38 | +//! - `VariableLengthOnion` - allows onion data to be of variable length |
| 39 | +//! (see [BOLT-4](https://github.com/lightning/bolts/blob/master/04-onion-routing.md) note that |
| 40 | +//! it now only describes variable length onions). |
38 | 41 | //! - `PaymentSecret` - requires/supports that a node supports payment_secret field
|
39 | 42 | //! (see [BOLT-4](https://github.com/lightning/bolts/blob/master/04-onion-routing.md) for more information).
|
40 | 43 | //! - `BasicMPP` - requires/supports that a node can receive basic multi-part payments
|
|
45 | 48 | //! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information).
|
46 | 49 | //! - `OnionMessages` - requires/supports forwarding onion messages
|
47 | 50 | //! (see [BOLT-7](https://github.com/lightning/bolts/pull/759/files) for more information).
|
48 |
| -//! TODO: update link |
| 51 | +// TODO: update link |
49 | 52 | //! - `ChannelType` - node supports the channel_type field in open/accept
|
50 | 53 | //! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information).
|
51 | 54 | //! - `SCIDPrivacy` - supply channel aliases for routing
|
52 | 55 | //! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information).
|
| 56 | +//! - `PaymentMetadata` - include additional data in invoices which is passed to recipients in the |
| 57 | +//! onion. |
| 58 | +//! (see [BOLT-11](https://github.com/lightning/bolts/blob/master/11-payment-encoding.md) for |
| 59 | +//! more). |
| 60 | +//! - `ZeroConf` - supports accepting HTLCs and using channels prior to funding confirmation |
| 61 | +//! (see |
| 62 | +//! [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-channel_ready-message) |
| 63 | +//! for more info). |
53 | 64 | //! - `Keysend` - send funds to a node without an invoice
|
54 | 65 | //! (see the [`Keysend` feature assignment proposal](https://github.com/lightning/bolts/issues/605#issuecomment-606679798) for more information).
|
55 | 66 | //! - `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). |
| 67 | +//! and HTLC transactions are pre-signed with zero fee (see |
| 68 | +//! [BOLT-3](https://github.com/lightning/bolts/blob/master/03-transactions.md) for more |
| 69 | +//! information). |
59 | 70 | //!
|
60 | 71 | //! [BOLT #9]: https://github.com/lightning/bolts/blob/master/09-features.md
|
61 | 72 | //! [messages]: crate::ln::msgs
|
@@ -394,6 +405,7 @@ mod sealed {
|
394 | 405 | define_feature!(55, Keysend, [NodeContext],
|
395 | 406 | "Feature flags for keysend payments.", set_keysend_optional, set_keysend_required,
|
396 | 407 | supports_keysend, requires_keysend);
|
| 408 | + // Note: update the module-level docs when a new feature bit is added! |
397 | 409 |
|
398 | 410 | #[cfg(test)]
|
399 | 411 | define_feature!(123456789, UnknownFeature,
|
|
0 commit comments