[][src]Struct sv::messages::BlockLocator

pub struct BlockLocator {
    pub version: u32,
    pub block_locator_hashes: Vec<Hash256>,
    pub hash_stop: Hash256,
}

Specifies which blocks to return

Fields

Protocol version of this node

Block hash to start after. First found will be used.

Block hash to stop at, or none if NO_HASH_STOP.

Methods

impl BlockLocator
[src]

Checks if the message is valid

Trait Implementations

impl Payload<BlockLocator> for BlockLocator
[src]

impl Serializable<BlockLocator> for BlockLocator
[src]

impl Clone for BlockLocator
[src]

Performs copy-assignment from source. Read more

impl Eq for BlockLocator
[src]

impl Default for BlockLocator
[src]

impl PartialEq<BlockLocator> for BlockLocator
[src]

impl Debug for BlockLocator
[src]

impl Hash for BlockLocator
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

Should always be Self