Struct lightning::ln::msgs::ClosingSigned
source · pub struct ClosingSigned {
pub channel_id: [u8; 32],
pub fee_satoshis: u64,
pub signature: Signature,
pub fee_range: Option<ClosingSignedFeeRange>,
}
Expand description
A closing_signed
message to be sent to or received from a peer.
Fields§
§channel_id: [u8; 32]
The channel ID
fee_satoshis: u64
The proposed total fee for the closing transaction
signature: Signature
A signature on the closing transaction
fee_range: Option<ClosingSignedFeeRange>
The minimum and maximum fees which the sender is willing to accept, provided only by new nodes.
Trait Implementations§
source§impl Clone for ClosingSigned
impl Clone for ClosingSigned
source§fn clone(&self) -> ClosingSigned
fn clone(&self) -> ClosingSigned
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 moresource§impl Debug for ClosingSigned
impl Debug for ClosingSigned
source§impl PartialEq<ClosingSigned> for ClosingSigned
impl PartialEq<ClosingSigned> for ClosingSigned
source§fn eq(&self, other: &ClosingSigned) -> bool
fn eq(&self, other: &ClosingSigned) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.