File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,11 @@ pub trait Listen {
86
86
87
87
/// Notifies the listener that one or more blocks were removed in anticipation of a reorg.
88
88
///
89
- /// Indicates the new best tip is the provided [`BestBlock`].
90
- fn blocks_disconnected ( & self , new_best_block : BestBlock ) ;
89
+ /// The provided [`BestBlock`] is the new best block after disconnecting blocks in the reorg
90
+ /// but before connecting new ones (i.e. the "fork point" block). For backwards compatibility,
91
+ /// you may instead walk the chain backwards, calling `blocks_disconnected` for each block
92
+ /// which is disconnected in a reorg.
93
+ fn blocks_disconnected ( & self , fork_point_block : BestBlock ) ;
91
94
}
92
95
93
96
/// The `Confirm` trait is used to notify LDK when relevant transactions have been confirmed on
You can’t perform that action at this time.
0 commit comments