Struct lightning::ln::msgs::GossipTimestampFilter[][src]

pub struct GossipTimestampFilter {
    pub chain_hash: BlockHash,
    pub first_timestamp: u32,
    pub timestamp_range: u32,
}

A gossip_timestamp_filter message is used by a node to request gossip relay for messages in the requested time range when the gossip_queries feature has been negotiated.

Fields

chain_hash: BlockHash

The genesis hash of the blockchain for channel and node information

first_timestamp: u32

The starting unix timestamp

timestamp_range: u32

The range of information in seconds

Trait Implementations

impl Clone for GossipTimestampFilter[src]

impl Debug for GossipTimestampFilter[src]

impl PartialEq<GossipTimestampFilter> for GossipTimestampFilter[src]

impl Readable for GossipTimestampFilter[src]

impl StructuralPartialEq for GossipTimestampFilter[src]

impl Writeable for GossipTimestampFilter[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.