pub struct GossipTimestampFilter {
pub chain_hash: ChainHash,
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: ChainHashThe genesis hash of the blockchain for channel and node information
first_timestamp: u32The starting unix timestamp
timestamp_range: u32The range of information in seconds
Trait Implementations§
Source§impl Clone for GossipTimestampFilter
impl Clone for GossipTimestampFilter
Source§fn clone(&self) -> GossipTimestampFilter
fn clone(&self) -> GossipTimestampFilter
Returns a duplicate 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 GossipTimestampFilter
impl Debug for GossipTimestampFilter
Source§impl Hash for GossipTimestampFilter
impl Hash for GossipTimestampFilter
Source§impl LengthReadable for GossipTimestampFilter
impl LengthReadable for GossipTimestampFilter
Source§fn read_from_fixed_length_buffer<R: LengthLimitedRead>(
r: &mut R,
) -> Result<Self, DecodeError>
fn read_from_fixed_length_buffer<R: LengthLimitedRead>( r: &mut R, ) -> Result<Self, DecodeError>
Reads a
Self in from the given LengthLimitedRead.Source§impl PartialEq for GossipTimestampFilter
impl PartialEq for GossipTimestampFilter
Source§impl Writeable for GossipTimestampFilter
impl Writeable for GossipTimestampFilter
impl Eq for GossipTimestampFilter
impl StructuralPartialEq for GossipTimestampFilter
Auto Trait Implementations§
impl Freeze for GossipTimestampFilter
impl RefUnwindSafe for GossipTimestampFilter
impl Send for GossipTimestampFilter
impl Sync for GossipTimestampFilter
impl Unpin for GossipTimestampFilter
impl UnwindSafe for GossipTimestampFilter
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