|
45 | 45 | //! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information).
|
46 | 46 | //! - `OnionMessages` - requires/supports forwarding onion messages
|
47 | 47 | //! (see [BOLT-7](https://github.com/lightning/bolts/pull/759/files) for more information).
|
48 |
| -//! TODO: update link |
| 48 | +// TODO: update link |
49 | 49 | //! - `ChannelType` - node supports the channel_type field in open/accept
|
50 | 50 | //! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information).
|
51 | 51 | //! - `SCIDPrivacy` - supply channel aliases for routing
|
52 | 52 | //! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information).
|
| 53 | +//! - `PaymentMetadata` - include additional data in invoices which is passed to recipients in the |
| 54 | +//! onion. |
| 55 | +//! (see [BOLT-11](https://github.com/lightning/bolts/blob/master/11-payment-encoding.md) for |
| 56 | +//! more). |
| 57 | +//! - `ZeroConf` - supports accepting HTLCs and using channels prior to funding confirmation |
| 58 | +//! (see |
| 59 | +//! [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-channel_ready-message) |
| 60 | +//! for more info). |
53 | 61 | //! - `Keysend` - send funds to a node without an invoice
|
54 | 62 | //! (see the [`Keysend` feature assignment proposal](https://github.com/lightning/bolts/issues/605#issuecomment-606679798) for more information).
|
55 | 63 | //! - `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). |
| 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). |
59 | 67 | //!
|
60 | 68 | //! [BOLT #9]: https://github.com/lightning/bolts/blob/master/09-features.md
|
61 | 69 | //! [messages]: crate::ln::msgs
|
@@ -393,6 +401,7 @@ mod sealed {
|
393 | 401 | define_feature!(55, Keysend, [NodeContext],
|
394 | 402 | "Feature flags for keysend payments.", set_keysend_optional, set_keysend_required,
|
395 | 403 | supports_keysend, requires_keysend);
|
| 404 | + // Note: update the module-level docs when a new feature bit is added! |
396 | 405 |
|
397 | 406 | #[cfg(test)]
|
398 | 407 | define_feature!(123456789, UnknownFeature,
|
|
0 commit comments