pub struct ChannelParameters {
pub dust_limit_satoshis: u64,
pub max_htlc_value_in_flight_msat: u64,
pub htlc_minimum_msat: u64,
pub commitment_feerate_sat_per_1000_weight: u32,
pub to_self_delay: u16,
pub max_accepted_htlcs: u16,
}Expand description
A subset of CommonOpenChannelFields, containing various parameters which are set by the
channel initiator and which are not part of the channel funding transaction.
Fields§
§dust_limit_satoshis: u64The threshold below which outputs on transactions broadcast by the channel initiator will be omitted.
max_htlc_value_in_flight_msat: u64The maximum inbound HTLC value in flight towards channel initiator, in milli-satoshi
htlc_minimum_msat: u64The minimum HTLC size for HTLCs towards the channel initiator, in milli-satoshi
commitment_feerate_sat_per_1000_weight: u32The feerate for the commitment transaction set by the channel initiator until updated by
UpdateFee
to_self_delay: u16The number of blocks which the non-channel-initator will have to wait to claim on-chain funds if they broadcast a commitment transaction.
max_accepted_htlcs: u16The maximum number of pending HTLCs towards the channel initiator.
Trait Implementations§
Source§impl Clone for ChannelParameters
impl Clone for ChannelParameters
Source§fn clone(&self) -> ChannelParameters
fn clone(&self) -> ChannelParameters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelParameters
impl Debug for ChannelParameters
Source§impl Hash for ChannelParameters
impl Hash for ChannelParameters
Source§impl PartialEq for ChannelParameters
impl PartialEq for ChannelParameters
impl Eq for ChannelParameters
impl StructuralPartialEq for ChannelParameters
Auto Trait Implementations§
impl Freeze for ChannelParameters
impl RefUnwindSafe for ChannelParameters
impl Send for ChannelParameters
impl Sync for ChannelParameters
impl Unpin for ChannelParameters
impl UnwindSafe for ChannelParameters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more