pub struct HolderCommitmentTransactionBalance {
pub amount_satoshis: u64,
pub transaction_fee_satoshis: u64,
}Expand description
The claimable balance of a holder commitment transaction that has yet to be broadcast.
Fields§
§amount_satoshis: u64The amount available to claim, in satoshis, excluding the on-chain fees which will be required to do so.
transaction_fee_satoshis: u64The transaction fee we pay for the closing commitment transaction. This amount is not
included in the HolderCommitmentTransactionBalance::amount_satoshis value.
This amount includes the sum of dust HTLCs on the commitment transaction, any elided anchors,
as well as the sum of msat amounts rounded down from non-dust HTLCs.
Note that if this channel is inbound (and thus our counterparty pays the commitment
transaction fee) this value will be zero. For ChannelMonitors created prior to LDK
0.0.124, the channel is always treated as outbound (and thus this value is never zero).
Trait Implementations§
Source§impl Clone for HolderCommitmentTransactionBalance
impl Clone for HolderCommitmentTransactionBalance
Source§fn clone(&self) -> HolderCommitmentTransactionBalance
fn clone(&self) -> HolderCommitmentTransactionBalance
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for HolderCommitmentTransactionBalance
impl PartialEq for HolderCommitmentTransactionBalance
Source§fn eq(&self, other: &HolderCommitmentTransactionBalance) -> bool
fn eq(&self, other: &HolderCommitmentTransactionBalance) -> bool
self and other values to be equal, and is used by ==.