pub(crate) enum InflightRequests {
Headers,
UtreexoState(u32),
Blocks(BlockHash),
Connect(u32),
GetFilters,
UtreexoProof(BlockHash),
GetAddresses,
}Variants§
Headers
Requests the peer to send us the next block headers in their main chain
UtreexoState(u32)
Requests the peer to send us the utreexo state for a given peer
Blocks(BlockHash)
Requests the peer to send us the block data for a given block hash
Connect(u32)
We’ve opened a connection with a peer, and are waiting for them to complete the handshake.
GetFilters
Requests the peer to send us the compact filters for blocks
UtreexoProof(BlockHash)
Requests the peer to send us the utreexo proof for a given block
GetAddresses
We’ve requested addresses from a peer
Trait Implementations§
Source§impl Clone for InflightRequests
impl Clone for InflightRequests
Source§fn clone(&self) -> InflightRequests
fn clone(&self) -> InflightRequests
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InflightRequests
impl Debug for InflightRequests
Source§impl Hash for InflightRequests
impl Hash for InflightRequests
Source§impl PartialEq for InflightRequests
impl PartialEq for InflightRequests
impl Eq for InflightRequests
impl StructuralPartialEq for InflightRequests
Auto Trait Implementations§
impl Freeze for InflightRequests
impl RefUnwindSafe for InflightRequests
impl Send for InflightRequests
impl Sync for InflightRequests
impl Unpin for InflightRequests
impl UnwindSafe for InflightRequests
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.