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, {
74
74
/// entire header chain and only blocks with matching transaction data using BIP 157 filters or
75
75
/// other similar filtering.
76
76
///
77
+ /// # Requirements
78
+ ///
77
79
/// Each block must be connected in chain order with one call to either
78
80
/// [`Listen::block_connected`] or [`Listen::filtered_block_connected`]. If a call to the
79
81
/// [`Filter`] interface was made during block processing and further transaction(s) from the same
@@ -87,6 +89,8 @@ impl_writeable_tlv_based!(BestBlock, {
87
89
/// prior to the one being disconnected) such that you ultimately pass information about the fork
88
90
/// point to `blocks_disconnected`.
89
91
///
92
+ /// # Object Birthday
93
+ ///
90
94
/// Note that most implementations take a [`BestBlock`] on construction and blocks only need to be
91
95
/// applied starting from that point.
92
96
pub trait Listen {
You can’t perform that action at this time.
0 commit comments