Struct ChannelParameters
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: u64
The threshold below which outputs on transactions broadcast by the channel initiator will be omitted.
max_htlc_value_in_flight_msat: u64
The maximum inbound HTLC value in flight towards channel initiator, in milli-satoshi
htlc_minimum_msat: u64
The minimum HTLC size for HTLCs towards the channel initiator, in milli-satoshi
commitment_feerate_sat_per_1000_weight: u32
The feerate for the commitment transaction set by the channel initiator until updated by
UpdateFee
to_self_delay: u16
The 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: u16
The maximum number of pending HTLCs towards the channel initiator.
Trait Implementations§
§impl Clone for ChannelParameters
impl Clone for ChannelParameters
§fn clone(&self) -> ChannelParameters
fn clone(&self) -> ChannelParameters
Returns a copy 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 more§impl Debug for ChannelParameters
impl Debug for ChannelParameters
§impl Hash for ChannelParameters
impl Hash for ChannelParameters
§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§
§impl<T> AnyEq for T
impl<T> AnyEq for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request