Skip to content

Commit aea96cc

Browse files
committed
Add version note in Confirm docs
While now `ChannelManager` will only return previously confirmed transactions, we can't ensure the same for `ChainMonitor`, as we need to maintain backwards compatibility with version prior to 0.0.113, at which we started tracking the block hash in `ChannelMonitor`s. We therefore add a note to the docs stating that users need to track confirmations on their own for channels created prior to 0.0.113.
1 parent 041c3e6 commit aea96cc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lightning/src/chain/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,6 @@ pub trait Confirm {
176176
/// Returns transactions that must be monitored for reorganization out of the chain along
177177
/// with the hash of the block as part of which it had been previously confirmed.
178178
///
179-
/// Will include any transactions passed to [`transactions_confirmed`] that have insufficient
180-
/// confirmations to be safe from a chain reorganization. Will not include any transactions
181-
/// passed to [`transaction_unconfirmed`], unless later reconfirmed.
182-
///
183179
/// Must be called to determine the subset of transactions that must be monitored for
184180
/// reorganization. Will be idempotent between calls but may change as a result of calls to the
185181
/// other interface methods. Thus, this is useful to determine which transactions must be

0 commit comments

Comments
 (0)