Skip to content

Commit 437b9d5

Browse files
committed
f describe disconnect legacy behavior better
1 parent 6998a05 commit 437b9d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lightning/src/chain/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ impl_writeable_tlv_based!(BestBlock, {
8383
/// In case of a reorg, you must call [`Listen::blocks_disconnected`] once with information on the
8484
/// "fork point" block, i.e. the highest block that is in both forks. For backwards compatibility,
8585
/// you may instead walk the chain backwards, calling `blocks_disconnected` for each block which is
86-
/// disconnected in a reorg.
86+
/// disconnected in a reorg, each time passing the new-best-block (i.e. information about the block
87+
/// prior to the one being disconnected) such that you ultimately pass information about the fork
88+
/// point to `blocks_disconnected`.
8789
///
8890
/// Note that most implementations take a [`BestBlock`] on construction and blocks only need to be
8991
/// applied starting from that point.

0 commit comments

Comments
 (0)