pub struct QueryShortChannelIds {
pub chain_hash: ChainHash,
pub short_channel_ids: Vec<u64>,
}Expand description
A query_short_channel_ids message is used to query a peer for
routing gossip messages related to one or more short_channel_ids.
The query recipient will reply with the latest, if available,
ChannelAnnouncement, ChannelUpdate and NodeAnnouncement messages
it maintains for the requested short_channel_ids followed by a
ReplyShortChannelIdsEnd message. The short_channel_ids sent in
this query are encoded. We only support encoding_type=0 uncompressed
serialization and do not support encoding_type=1 zlib serialization.
Fields§
§chain_hash: ChainHashThe genesis hash of the blockchain being queried
short_channel_ids: Vec<u64>The short_channel_ids that are being queried
Trait Implementations§
Source§impl Clone for QueryShortChannelIds
impl Clone for QueryShortChannelIds
Source§fn clone(&self) -> QueryShortChannelIds
fn clone(&self) -> QueryShortChannelIds
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 QueryShortChannelIds
impl Debug for QueryShortChannelIds
Source§impl Hash for QueryShortChannelIds
impl Hash for QueryShortChannelIds
Source§impl LengthReadable for QueryShortChannelIds
impl LengthReadable for QueryShortChannelIds
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 QueryShortChannelIds
impl PartialEq for QueryShortChannelIds
Source§impl Writeable for QueryShortChannelIds
impl Writeable for QueryShortChannelIds
impl Eq for QueryShortChannelIds
impl StructuralPartialEq for QueryShortChannelIds
Auto Trait Implementations§
impl Freeze for QueryShortChannelIds
impl RefUnwindSafe for QueryShortChannelIds
impl Send for QueryShortChannelIds
impl Sync for QueryShortChannelIds
impl Unpin for QueryShortChannelIds
impl UnwindSafe for QueryShortChannelIds
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