mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Merge pull request #3225 from TheBlueMatt/2024-08-3019-followups
Clean up `CommonOpenChannelFields` docs slightly
This commit is contained in:
commit
3d76753a10
1 changed files with 6 additions and 6 deletions
|
@ -252,23 +252,23 @@ impl CommonOpenChannelFields {
|
|||
}
|
||||
|
||||
/// A subset of [`CommonOpenChannelFields`], containing various parameters which are set by the
|
||||
/// counterparty and which are not part of the channel funding transaction.
|
||||
/// channel initiator and which are not part of the channel funding transaction.
|
||||
#[derive(Clone, Debug, Hash, PartialEq, Eq)]
|
||||
pub struct ChannelParameters {
|
||||
/// The threshold below which outputs on transactions broadcast by the channel initiator will be
|
||||
/// omitted
|
||||
/// omitted.
|
||||
pub dust_limit_satoshis: u64,
|
||||
/// The maximum inbound HTLC value in flight towards channel initiator, in milli-satoshi
|
||||
pub max_htlc_value_in_flight_msat: u64,
|
||||
/// The minimum HTLC size incoming to channel initiator, in milli-satoshi
|
||||
/// The minimum HTLC size for HTLCs towards the channel initiator, in milli-satoshi
|
||||
pub htlc_minimum_msat: u64,
|
||||
/// The feerate for the commitment transaction set by the channel initiator until updated by
|
||||
/// [`UpdateFee`]
|
||||
pub commitment_feerate_sat_per_1000_weight: u32,
|
||||
/// The number of blocks which the counterparty will have to wait to claim on-chain funds if they
|
||||
/// broadcast a commitment transaction
|
||||
/// The number of blocks which the non-channel-initator will have to wait to claim on-chain
|
||||
/// funds if they broadcast a commitment transaction.
|
||||
pub to_self_delay: u16,
|
||||
/// The maximum number of inbound HTLCs towards channel initiator
|
||||
/// The maximum number of pending HTLCs towards the channel initiator.
|
||||
pub max_accepted_htlcs: u16,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue