#[repr(C, align(32))]pub struct ChannelUpdateInfo {
pub htlc_minimum_msat: u64,
pub htlc_maximum_msat: u64,
pub fees: RoutingFees,
pub last_update: u32,
pub cltv_expiry_delta: u16,
pub enabled: bool,
pub last_update_message: Option<ChannelUpdate>,
}Expand description
Details about one direction of a channel as received within a ChannelUpdate.
Fields§
§htlc_minimum_msat: u64The minimum value, which must be relayed to the next hop via the channel
htlc_maximum_msat: u64The maximum value which may be relayed to the next hop via the channel.
fees: RoutingFeesFees charged when the channel is used for routing
last_update: u32When the last update to the channel direction was issued. Value is opaque, as set in the announcement.
cltv_expiry_delta: u16The difference in CLTV values that you must have when routing through this channel.
enabled: boolWhether the channel can be currently used for payments (in this one direction).
last_update_message: Option<ChannelUpdate>Most recent update for the channel received from the network Mostly redundant with the data we store in fields explicitly. Everything else is useful only for sending out for initial routing sync. Not stored if contains excess data to prevent DoS.
Trait Implementations§
Source§impl Clone for ChannelUpdateInfo
impl Clone for ChannelUpdateInfo
Source§fn clone(&self) -> ChannelUpdateInfo
fn clone(&self) -> ChannelUpdateInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more