pub enum Event {
Block(IndexedBlock),
FiltersSynced(SyncUpdate),
BlocksDisconnected {
accepted: Vec<IndexedHeader>,
disconnected: Vec<IndexedHeader>,
},
IndexedFilter(IndexedFilter),
}Expand description
Data and structures useful for a consumer, such as a wallet.
Variants§
Block(IndexedBlock)
A relevant Block.
Note that the block may not contain any transactions contained in the script set.
This is due to block filters having a non-zero false-positive rate when compressing data.
FiltersSynced(SyncUpdate)
The node is fully synced, having scanned the requested range.
BlocksDisconnected
Blocks were reorganized out of the chain.
Fields
§
accepted: Vec<IndexedHeader>Blocks that were accepted to the chain of most work in ascending order by height.
§
disconnected: Vec<IndexedHeader>Blocks that were disconnected from the chain of most work in ascending order by height.
IndexedFilter(IndexedFilter)
A compact block filter with associated height and block hash.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more