Struct lightning::ln::msgs::RevokeAndACK [−][src]
pub struct RevokeAndACK {
pub channel_id: [u8; 32],
pub per_commitment_secret: [u8; 32],
pub next_per_commitment_point: PublicKey,
}
Expand description
A revoke_and_ack message to be sent or received from a peer
Fields
channel_id: [u8; 32]
The channel ID
per_commitment_secret: [u8; 32]
The secret corresponding to the per-commitment point
next_per_commitment_point: PublicKey
The next sender-broadcast commitment transaction’s per-commitment point
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Writes self out to a Vec
Writes self out to a Vec
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
Auto Trait Implementations
impl RefUnwindSafe for RevokeAndACK
impl Send for RevokeAndACK
impl Sync for RevokeAndACK
impl Unpin for RevokeAndACK
impl UnwindSafe for RevokeAndACK
Blanket Implementations
Mutably borrows from an owned value. Read more