|
21 | 21 | //! |
22 | 22 | //! The following features are currently required in the LDK: |
23 | 23 | //! - `VariableLengthOnion` - requires/supports variable-length routing onion payloads |
24 | | -//! (see [BOLT-4](https://github.com/lightning/bolts/blob/master/04-onion-routing.md) for more information). |
| 24 | +//! (see [BOLT-4](https://github.com/lightning/bolts/blob/master/04-onion-routing.md) for more information). |
25 | 25 | //! - `StaticRemoteKey` - requires/supports static key for remote output |
26 | | -//! (see [BOLT-3](https://github.com/lightning/bolts/blob/master/03-transactions.md) for more information). |
| 26 | +//! (see [BOLT-3](https://github.com/lightning/bolts/blob/master/03-transactions.md) for more information). |
27 | 27 | //! |
28 | 28 | //! The following features are currently supported in the LDK: |
29 | 29 | //! - `DataLossProtect` - requires/supports that a node which has somehow fallen behind, e.g., has been restored from an old backup, |
30 | | -//! can detect that it has fallen behind |
31 | | -//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information). |
| 30 | +//! can detect that it has fallen behind |
| 31 | +//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information). |
32 | 32 | //! - `InitialRoutingSync` - requires/supports that the sending node needs a complete routing information dump |
33 | | -//! (see [BOLT-7](https://github.com/lightning/bolts/blob/master/07-routing-gossip.md#initial-sync) for more information). |
| 33 | +//! (see [BOLT-7](https://github.com/lightning/bolts/blob/master/07-routing-gossip.md#initial-sync) for more information). |
34 | 34 | //! - `UpfrontShutdownScript` - commits to a shutdown scriptpubkey when opening a channel |
35 | | -//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-open_channel-message) for more information). |
| 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 | | -//! (see [BOLT-7](https://github.com/lightning/bolts/blob/master/07-routing-gossip.md) for more information). |
| 37 | +//! (see [BOLT-7](https://github.com/lightning/bolts/blob/master/07-routing-gossip.md) for more information). |
38 | 38 | //! - `PaymentSecret` - requires/supports that a node supports payment_secret field |
39 | | -//! (see [BOLT-4](https://github.com/lightning/bolts/blob/master/04-onion-routing.md) for more information). |
| 39 | +//! (see [BOLT-4](https://github.com/lightning/bolts/blob/master/04-onion-routing.md) for more information). |
40 | 40 | //! - `BasicMPP` - requires/supports that a node can receive basic multi-part payments |
41 | | -//! (see [BOLT-4](https://github.com/lightning/bolts/blob/master/04-onion-routing.md#basic-multi-part-payments) for more information). |
| 41 | +//! (see [BOLT-4](https://github.com/lightning/bolts/blob/master/04-onion-routing.md#basic-multi-part-payments) for more information). |
42 | 42 | //! - `Wumbo` - requires/supports that a node create large channels. Called `option_support_large_channel` in the spec. |
43 | | -//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-open_channel-message) for more information). |
| 43 | +//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-open_channel-message) for more information). |
44 | 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). |
| 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). |
48 | 48 | //! - `RouteBlinding` - requires/supports that a node can relay payments over blinded paths |
49 | | -//! (see [BOLT-4](https://github.com/lightning/bolts/blob/master/04-onion-routing.md#route-blinding) for more information). |
| 49 | +//! (see [BOLT-4](https://github.com/lightning/bolts/blob/master/04-onion-routing.md#route-blinding) for more information). |
50 | 50 | //! - `ShutdownAnySegwit` - requires/supports that future segwit versions are allowed in `shutdown` |
51 | | -//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information). |
| 51 | +//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information). |
52 | 52 | //! - `DualFund` - requires/supports V2 channel establishment |
53 | | -//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#channel-establishment-v2) for more information). |
| 53 | +//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#channel-establishment-v2) for more information). |
54 | 54 | //! - `OnionMessages` - requires/supports forwarding onion messages |
55 | | -//! (see [BOLT-7](https://github.com/lightning/bolts/pull/759/files) for more information). |
| 55 | +//! (see [BOLT-7](https://github.com/lightning/bolts/pull/759/files) for more information). |
56 | 56 | // TODO: update link |
57 | 57 | //! - `ChannelType` - node supports the channel_type field in open/accept |
58 | | -//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information). |
| 58 | +//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information). |
59 | 59 | //! - `SCIDPrivacy` - supply channel aliases for routing |
60 | | -//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information). |
| 60 | +//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md) for more information). |
61 | 61 | //! - `PaymentMetadata` - include additional data in invoices which is passed to recipients in the |
62 | | -//! onion. |
63 | | -//! (see [BOLT-11](https://github.com/lightning/bolts/blob/master/11-payment-encoding.md) for |
64 | | -//! more). |
| 62 | +//! onion. |
| 63 | +//! (see [BOLT-11](https://github.com/lightning/bolts/blob/master/11-payment-encoding.md) for |
| 64 | +//! more). |
65 | 65 | //! - `ZeroConf` - supports accepting HTLCs and using channels prior to funding confirmation |
66 | | -//! (see |
67 | | -//! [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-channel_ready-message) |
68 | | -//! for more info). |
| 66 | +//! (see |
| 67 | +//! [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#the-channel_ready-message) |
| 68 | +//! for more info). |
69 | 69 | //! - `Keysend` - send funds to a node without an invoice |
70 | | -//! (see the [`Keysend` feature assignment proposal](https://github.com/lightning/bolts/issues/605#issuecomment-606679798) for more information). |
| 70 | +//! (see the [`Keysend` feature assignment proposal](https://github.com/lightning/bolts/issues/605#issuecomment-606679798) for more information). |
71 | 71 | //! - `Trampoline` - supports receiving and forwarding Trampoline payments |
72 | | -//! (see the [`Trampoline` feature proposal](https://github.com/lightning/bolts/pull/836) for more information). |
| 72 | +//! (see the [`Trampoline` feature proposal](https://github.com/lightning/bolts/pull/836) for more information). |
73 | 73 | //! - `DnsResolver` - supports resolving DNS names to TXT DNSSEC proofs for BIP 353 payments |
74 | | -//! (see [bLIP 32](https://github.com/lightning/blips/blob/master/blip-0032.md) for more information). |
| 74 | +//! (see [bLIP 32](https://github.com/lightning/blips/blob/master/blip-0032.md) for more information). |
75 | 75 | //! - `ProvideStorage` - Indicates that we offer the capability to store data of our peers |
76 | | -//! (see [BOLT PR #1110](https://github.com/lightning/bolts/pull/1110) for more info). |
| 76 | +//! (see [BOLT PR #1110](https://github.com/lightning/bolts/pull/1110) for more info). |
77 | 77 | //! - `Quiescence` - protocol to quiesce a channel by indicating that "SomeThing Fundamental is Underway" |
78 | | -//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#channel-quiescence) for more information). |
| 78 | +//! (see [BOLT-2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#channel-quiescence) for more information). |
79 | 79 | //! - `ZeroFeeCommitments` - A channel type which always uses zero transaction fee on commitment transactions. |
80 | | -//! (see [BOLT PR #1228](https://github.com/lightning/bolts/pull/1228) for more info). |
| 80 | +//! (see [BOLT PR #1228](https://github.com/lightning/bolts/pull/1228) for more info). |
81 | 81 | //! |
82 | 82 | //! LDK knows about the following features, but does not support them: |
83 | 83 | //! - `AnchorsNonzeroFeeHtlcTx` - the initial version of anchor outputs, which was later found to be |
84 | | -//! vulnerable (see this |
85 | | -//! [mailing list post](https://lists.linuxfoundation.org/pipermail/lightning-dev/2020-September/002796.html) |
86 | | -//! for more information). |
| 84 | +//! vulnerable (see this |
| 85 | +//! [mailing list post](https://lists.linuxfoundation.org/pipermail/lightning-dev/2020-September/002796.html) |
| 86 | +//! for more information). |
87 | 87 | //! |
88 | 88 | //! [BOLT #9]: https://github.com/lightning/bolts/blob/master/09-features.md |
89 | 89 |
|
|
0 commit comments