pub struct RevokeAndACK {
pub channel_id: ChannelId,
pub per_commitment_secret: [u8; 32],
pub next_per_commitment_point: PublicKey,
pub release_htlc_message_paths: Vec<(u64, BlindedMessagePath)>,
}Expand description
A revoke_and_ack message to be sent to or received from a peer.
Fields§
§channel_id: ChannelIdThe channel ID
per_commitment_secret: [u8; 32]The secret corresponding to the per-commitment point
next_per_commitment_point: PublicKeyThe next sender-broadcast commitment transaction’s per-commitment point
release_htlc_message_paths: Vec<(u64, BlindedMessagePath)>A list of (htlc_id, blinded_path). The receiver of this message will use the blinded paths
as reply paths to HeldHtlcAvailable onion messages that they send to the often-offline
receiver of this HTLC. The htlc_id is used by the receiver of this message to identify which
held HTLC a given blinded path corresponds to.
Trait Implementations§
Source§impl Clone for RevokeAndACK
impl Clone for RevokeAndACK
Source§fn clone(&self) -> RevokeAndACK
fn clone(&self) -> RevokeAndACK
Returns a duplicate 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 RevokeAndACK
impl Debug for RevokeAndACK
Source§impl Hash for RevokeAndACK
impl Hash for RevokeAndACK
Source§impl LengthReadable for RevokeAndACK
impl LengthReadable for RevokeAndACK
Source§fn read_from_fixed_length_buffer<R: LengthLimitedRead>(
r: &mut R,
) -> Result<Self, DecodeError>
fn read_from_fixed_length_buffer<R: LengthLimitedRead>( r: &mut R, ) -> Result<Self, DecodeError>
Reads a
Self in from the given LengthLimitedRead.Source§impl PartialEq for RevokeAndACK
impl PartialEq for RevokeAndACK
Source§impl Writeable for RevokeAndACK
impl Writeable for RevokeAndACK
impl Eq for RevokeAndACK
impl StructuralPartialEq for RevokeAndACK
Auto Trait Implementations§
impl Freeze for RevokeAndACK
impl RefUnwindSafe for RevokeAndACK
impl Send for RevokeAndACK
impl Sync for RevokeAndACK
impl Unpin for RevokeAndACK
impl UnwindSafe for RevokeAndACK
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more