Skip to content

Commit eecf3d1

Browse files
committed
f simplify backwards compat discussion
1 parent ac7c86d commit eecf3d1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lightning/src/chain/mod.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,9 @@ impl_writeable_tlv_based!(BestBlock, {
8383
/// made immediately for the same block (prior to any other calls to the [`Listen`] interface).
8484
///
8585
/// In case of a reorg, you must call [`Listen::blocks_disconnected`] once with information on the
86-
/// "fork point" block, i.e. the highest block that is in both forks. For backwards compatibility,
87-
/// you may instead walk the chain backwards, calling `blocks_disconnected` for each block that is
88-
/// disconnected in a reorg, each time passing the new-best-block (i.e. information about the block
89-
/// prior to the one being disconnected) such that you ultimately pass information about the fork
90-
/// point to `blocks_disconnected`.
86+
/// "fork point" block, i.e. the highest block that is in both forks. You may call
87+
/// [`Listen::blocks_disconnected`] multiple times as you walk the chain backwards, but each must
88+
/// include a fork point block which is before the last.
9189
///
9290
/// # Object Birthday
9391
///

0 commit comments

Comments
 (0)