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, channel_announcement, channel_update and node_announcement messages it maintains for the requested short_channel_ids followed by a reply_short_channel_ids_end 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: BlockHash
The genesis hash of the blockchain being queried
short_channel_ids: Vec<u64>
The short_channel_ids that are being queried
Trait Implementations
sourceimpl Clone for QueryShortChannelIds
impl Clone for QueryShortChannelIds
sourcefn clone(&self) -> QueryShortChannelIds
fn clone(&self) -> QueryShortChannelIds
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for QueryShortChannelIds
impl Debug for QueryShortChannelIds
sourceimpl PartialEq<QueryShortChannelIds> for QueryShortChannelIds
impl PartialEq<QueryShortChannelIds> for QueryShortChannelIds
sourcefn eq(&self, other: &QueryShortChannelIds) -> bool
fn eq(&self, other: &QueryShortChannelIds) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &QueryShortChannelIds) -> bool
fn ne(&self, other: &QueryShortChannelIds) -> bool
This method tests for !=
.
sourceimpl Readable for QueryShortChannelIds
impl Readable for QueryShortChannelIds
sourceimpl Writeable for QueryShortChannelIds
impl Writeable for QueryShortChannelIds
sourcefn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
fn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Writes self out to a Vec
sourcefn encode_with_len(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
fn encode_with_len(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Writes self out to a Vec
sourcefn serialized_length(&self) -> usize
fn serialized_length(&self) -> usize
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
impl StructuralPartialEq for QueryShortChannelIds
Auto Trait Implementations
impl RefUnwindSafe for QueryShortChannelIds
impl Send for QueryShortChannelIds
impl Sync for QueryShortChannelIds
impl Unpin for QueryShortChannelIds
impl UnwindSafe for QueryShortChannelIds
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> MaybeReadable for T where
T: Readable,
impl<T> MaybeReadable for T where
T: Readable,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more