Skip to content

Commit 19d61d7

Browse files
committed
f correct docs and add some ``s
1 parent 3ca9856 commit 19d61d7

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

lightning/src/ln/functional_test_utils.rs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -79,26 +79,26 @@ pub fn confirm_transaction_at<'a, 'b, 'c, 'd>(node: &'a Node<'b, 'c, 'd>, tx: &T
7979
/// The possible ways we may notify a ChannelManager of a new block
8080
#[derive(Clone, Copy, PartialEq)]
8181
pub enum ConnectStyle {
82-
/// Calls best_block_updated first, detecting transactions in the block only after receiving the
83-
/// header and height information.
82+
/// Calls `best_block_updated` first, detecting transactions in the block only after receiving
83+
/// the header and height information.
8484
BestBlockFirst,
85-
/// The same as BestBlockFirst, however when we have multiple blocks to connect, we only
86-
/// make a single best_block_updated call.
85+
/// The same as `BestBlockFirst`, however when we have multiple blocks to connect, we only
86+
/// make a single `best_block_updated` call.
8787
BestBlockFirstSkippingBlocks,
88-
/// Calls transactions_confirmed first, but only when connecting blocks. During disconnection
89-
/// only `transaction_unconfirmed` is called.
88+
/// The same as `BestBlockFirst` when connecting blocks. During disconnection only
89+
/// `transaction_unconfirmed` is called.
9090
BestBlockFirstReorgsOnlyTip,
91-
/// Calls transactions_confirmed first, detecting transactions in the block before updating the
92-
/// header and height information.
91+
/// Calls `transactions_confirmed` first, detecting transactions in the block before updating
92+
/// the header and height information.
9393
TransactionsFirst,
94-
/// The same as TransactionsFirst, however when we have multiple blocks to connect, we only
95-
/// make a single best_block_updated call.
94+
/// The same as `TransactionsFirst`, however when we have multiple blocks to connect, we only
95+
/// make a single `best_block_updated` call.
9696
TransactionsFirstSkippingBlocks,
97-
/// Calls best_block_updated first, but only when connecting blocks. During disconnection only
97+
/// The same as `TransactionsFirst` when connecting blocks. During disconnection only
9898
/// `transaction_unconfirmed` is called.
9999
TransactionsFirstReorgsOnlyTip,
100-
/// Provides the full block via the chain::Listen interface. In the current code this is
101-
/// equivalent to TransactionsFirst with some additional assertions.
100+
/// Provides the full block via the `chain::Listen` interface. In the current code this is
101+
/// equivalent to `TransactionsFirst` with some additional assertions.
102102
FullBlockViaListen,
103103
}
104104

0 commit comments

Comments
 (0)