File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ impl_writeable_tlv_based!(BestBlock, {
7474/// entire header chain and only blocks with matching transaction data using BIP 157 filters or
7575/// other similar filtering.
7676///
77+ /// # Requirements
78+ ///
7779/// Each block must be connected in chain order with one call to either
7880/// [`Listen::block_connected`] or [`Listen::filtered_block_connected`]. If a call to the
7981/// [`Filter`] interface was made during block processing and further transaction(s) from the same
@@ -87,6 +89,8 @@ impl_writeable_tlv_based!(BestBlock, {
8789/// prior to the one being disconnected) such that you ultimately pass information about the fork
8890/// point to `blocks_disconnected`.
8991///
92+ /// # Object Birthday
93+ ///
9094/// Note that most implementations take a [`BestBlock`] on construction and blocks only need to be
9195/// applied starting from that point.
9296pub trait Listen {
You can’t perform that action at this time.
0 commit comments