@@ -79,26 +79,26 @@ pub fn confirm_transaction_at<'a, 'b, 'c, 'd>(node: &'a Node<'b, 'c, 'd>, tx: &T
79
79
/// The possible ways we may notify a ChannelManager of a new block
80
80
#[ derive( Clone , Copy , PartialEq ) ]
81
81
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.
84
84
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.
87
87
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.
90
90
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.
93
93
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.
96
96
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
98
98
/// `transaction_unconfirmed` is called.
99
99
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.
102
102
FullBlockViaListen ,
103
103
}
104
104
0 commit comments