Struct lightning::ln::msgs::GossipTimestampFilter [−][src]
pub struct GossipTimestampFilter { pub chain_hash: BlockHash, pub first_timestamp: u32, pub timestamp_range: u32, }
Expand description
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Writes self out to a Vec
Writes self out to a Vec
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
Auto Trait Implementations
impl RefUnwindSafe for GossipTimestampFilter
impl Send for GossipTimestampFilter
impl Sync for GossipTimestampFilter
impl Unpin for GossipTimestampFilter
impl UnwindSafe for GossipTimestampFilter
Blanket Implementations
Mutably borrows from an owned value. Read more