pub struct ChannelHandshakeConfigUpdate {
pub max_inbound_htlc_value_in_flight_percent_of_channel: Option<u8>,
pub htlc_minimum_msat: Option<u64>,
pub minimum_depth: Option<u32>,
pub to_self_delay: Option<u16>,
pub max_accepted_htlcs: Option<u16>,
pub channel_reserve_proportional_millionths: Option<u32>,
}Expand description
Config structure for overriding channel handshake parameters.
Fields§
§max_inbound_htlc_value_in_flight_percent_of_channel: Option<u8>Overrides the percentage of the channel value we will cap the total value of outstanding inbound HTLCs to. See
ChannelHandshakeConfig::max_inbound_htlc_value_in_flight_percent_of_channel.
htlc_minimum_msat: Option<u64>Overrides the smallest value HTLC we will accept to process. See ChannelHandshakeConfig::our_htlc_minimum_msat.
minimum_depth: Option<u32>Overrides confirmations we will wait for before considering the channel locked in. See
ChannelHandshakeConfig::minimum_depth.
to_self_delay: Option<u16>Overrides the number of blocks we require our counterparty to wait to claim their money. See
ChannelHandshakeConfig::our_to_self_delay.
max_accepted_htlcs: Option<u16>The maximum number of HTLCs in-flight from our counterparty towards us at the same time. See
ChannelHandshakeConfig::our_max_accepted_htlcs.
channel_reserve_proportional_millionths: Option<u32>The Proportion of the channel value to configure as counterparty’s channel reserve. See
ChannelHandshakeConfig::their_channel_reserve_proportional_millionths.