Struct lightning::ln::msgs::CommitmentSigned
source · pub struct CommitmentSigned {
pub channel_id: [u8; 32],
pub signature: Signature,
pub htlc_signatures: Vec<Signature>,
}
Expand description
A commitment_signed
message to be sent to or received from a peer.
Fields§
§channel_id: [u8; 32]
The channel ID
signature: Signature
A signature on the commitment transaction
htlc_signatures: Vec<Signature>
Signatures on the HTLC transactions
Trait Implementations§
source§impl Clone for CommitmentSigned
impl Clone for CommitmentSigned
source§fn clone(&self) -> CommitmentSigned
fn clone(&self) -> CommitmentSigned
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 CommitmentSigned
impl Debug for CommitmentSigned
source§impl PartialEq<CommitmentSigned> for CommitmentSigned
impl PartialEq<CommitmentSigned> for CommitmentSigned
source§fn eq(&self, other: &CommitmentSigned) -> bool
fn eq(&self, other: &CommitmentSigned) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.