Skip to content

Commit 81f093f

Browse files
committed
f - Remove ChannelMonitor docs that are repetitive with Confirm docs
1 parent 557b495 commit 81f093f

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,11 +1311,9 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
13111311
/// outputs to watch. See [`block_connected`] for details.
13121312
///
13131313
/// Used instead of [`block_connected`] by clients that are notified of transactions rather than
1314-
/// blocks. May be called before or after [`best_block_updated`] for transactions in the
1315-
/// corresponding block. See [`best_block_updated`] for further calling expectations.
1314+
/// blocks. See [`chain::Confirm`] for calling expectations.
13161315
///
13171316
/// [`block_connected`]: Self::block_connected
1318-
/// [`best_block_updated`]: Self::best_block_updated
13191317
pub fn transactions_confirmed<B: Deref, F: Deref, L: Deref>(
13201318
&self,
13211319
header: &BlockHeader,
@@ -1337,11 +1335,9 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
13371335
/// Processes a transaction that was reorganized out of the chain.
13381336
///
13391337
/// Used instead of [`block_disconnected`] by clients that are notified of transactions rather
1340-
/// than blocks. May be called before or after [`best_block_updated`] for transactions in the
1341-
/// corresponding block. See [`best_block_updated`] for further calling expectations.
1338+
/// than blocks. See [`chain::Confirm`] for calling expectations.
13421339
///
13431340
/// [`block_disconnected`]: Self::block_disconnected
1344-
/// [`best_block_updated`]: Self::best_block_updated
13451341
pub fn transaction_unconfirmed<B: Deref, F: Deref, L: Deref>(
13461342
&self,
13471343
txid: &Txid,
@@ -1361,17 +1357,9 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
13611357
/// [`block_connected`] for details.
13621358
///
13631359
/// Used instead of [`block_connected`] by clients that are notified of transactions rather than
1364-
/// blocks. May be called before or after [`transactions_confirmed`] for the corresponding
1365-
/// block.
1366-
///
1367-
/// Must be called after new blocks become available for the most recent block. Intermediary
1368-
/// blocks, however, may be safely skipped. In the event of a chain re-organization, this only
1369-
/// needs to be called for the most recent block assuming `transaction_unconfirmed` is called
1370-
/// for any affected transactions.
1360+
/// blocks. See [`chain::Confirm`] for calling expectations.
13711361
///
13721362
/// [`block_connected`]: Self::block_connected
1373-
/// [`transactions_confirmed`]: Self::transactions_confirmed
1374-
/// [`transaction_unconfirmed`]: Self::transaction_unconfirmed
13751363
pub fn best_block_updated<B: Deref, F: Deref, L: Deref>(
13761364
&self,
13771365
header: &BlockHeader,

0 commit comments

Comments
 (0)