Add version note in `Confirm` docs
authorElias Rohrer <ero@tnull.de>
Tue, 31 Jan 2023 23:15:46 +0000 (17:15 -0600)
committerElias Rohrer <ero@tnull.de>
Tue, 31 Jan 2023 23:56:42 +0000 (17:56 -0600)
commit909bae5c679f11bc3bb44df04b0cce0ca16f8e9d
tree96b9d6259b841bde9fc88f0c657ca6319940d2ce
parent041c3e615fb2d4db8fcff7a9e5c864bbb3656502
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.
lightning/src/chain/mod.rs