Skip to content

Commit 3a394df

Browse files
authored
Merge pull request #3704 from TheBlueMatt/2025-04-fix-clippy
Fix indentation in `features.rs` doc comments
2 parents 76a5152 + 82015c4 commit 3a394df

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

lightning-types/src/features.rs

+34-34
Original file line numberDiff line numberDiff line change
@@ -21,69 +21,69 @@
2121
//!
2222
//! The following features are currently required in the LDK:
2323
//! - `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).
2525
//! - `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).
2727
//!
2828
//! The following features are currently supported in the LDK:
2929
//! - `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).
3232
//! - `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).
3434
//! - `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).
3636
//! - `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).
3838
//! - `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).
4040
//! - `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).
4242
//! - `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).
4444
//! - `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).
4848
//! - `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).
5050
//! - `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).
5252
//! - `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).
5454
//! - `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).
5656
// TODO: update link
5757
//! - `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).
5959
//! - `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).
6161
//! - `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).
6565
//! - `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).
6969
//! - `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).
7171
//! - `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).
7373
//! - `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).
7575
//! - `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).
7777
//! - `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).
7979
//! - `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).
8181
//!
8282
//! LDK knows about the following features, but does not support them:
8383
//! - `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).
8787
//!
8888
//! [BOLT #9]: https://github.com/lightning/bolts/blob/master/09-features.md
8989

0 commit comments

Comments
 (0)