[][src]Struct lightning::ln::router::RouteHint

pub struct RouteHint {
    pub src_node_id: PublicKey,
    pub short_channel_id: u64,
    pub fee_base_msat: u32,
    pub fee_proportional_millionths: u32,
    pub cltv_expiry_delta: u16,
    pub htlc_minimum_msat: u64,
}

A channel descriptor which provides a last-hop route to get_route

Fields

src_node_id: PublicKey

The node_id of the non-target end of the route

short_channel_id: u64

The short_channel_id of this channel

fee_base_msat: u32

The static msat-denominated fee which must be paid to use this channel

fee_proportional_millionths: u32

The dynamic proportional fee which must be paid to use this channel, denominated in millionths of the value being forwarded to the next hop.

cltv_expiry_delta: u16

The difference in CLTV values between this node and the next node.

htlc_minimum_msat: u64

The minimum value, in msat, which must be relayed to the next hop.

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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

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.