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

pub struct QueryChannelRange {
    pub chain_hash: BlockHash,
    pub first_blocknum: u32,
    pub number_of_blocks: u32,
}

A query_channel_range message is used to query a peer for channel UTXOs in a range of blocks. The recipient of a query makes a best effort to reply to the query using one or more reply_channel_range messages.

Fields

chain_hash: BlockHash

The genesis hash of the blockchain being queried

first_blocknum: u32

The height of the first block for the channel UTXOs being queried

number_of_blocks: u32

The number of blocks to include in the query results

Trait Implementations

impl Clone for QueryChannelRange[src]

impl Debug for QueryChannelRange[src]

impl PartialEq<QueryChannelRange> for QueryChannelRange[src]

impl Readable for QueryChannelRange[src]

impl StructuralPartialEq for QueryChannelRange[src]

impl Writeable for QueryChannelRange[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.