pub enum Info {
SuccessfulHandshake,
ConnectionsMet,
Progress(Progress),
NewChainHeight(u32),
NewFork {
tip: IndexedHeader,
},
TxGossiped(Wtxid),
BlockReceived(BlockHash),
}Expand description
Informational messages emitted by a node
Variants§
SuccessfulHandshake
The node was able to successfully complete a version handshake.
ConnectionsMet
The node is connected to all required peers.
Progress(Progress)
The progress of the node during the block filter download process.
NewChainHeight(u32)
There was an update to the header chain.
NewFork
A peer served a new fork.
Fields
§
tip: IndexedHeaderThe tip of the new fork.
TxGossiped(Wtxid)
A transaction was sent to a peer. The wtxid was advertised to the
peer, and the peer responded with getdata. The transaction was then serialized and sent
over the wire. This is a strong indication the transaction will propagate, but not
guaranteed. You may receive duplicate messages for a given wtxid given your broadcast
policy.
BlockReceived(BlockHash)
A requested block has been received and is being processed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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