[][src]Struct lnpbp::lnp::application::message::ChannelReestablish

pub struct ChannelReestablish {
    pub channel_id: ChannelId,
    pub next_commitment_number: u64,
    pub next_revocation_number: u64,
    pub your_last_per_commitment_secret: [u8; 32],
    pub my_current_per_commitment_point: PublicKey,
}

Fields

channel_id: ChannelId

The channel ID

next_commitment_number: u64

The next commitment number for the sender

next_revocation_number: u64

The next commitment number for the recipient

your_last_per_commitment_secret: [u8; 32]

Proof that the sender knows the per-commitment secret of a specific commitment transaction belonging to the recipient

my_current_per_commitment_point: PublicKey

The sender's per-commitment point for their current commitment transaction

Trait Implementations

impl Clone for ChannelReestablish[src]

impl Debug for ChannelReestablish[src]

impl Display for ChannelReestablish[src]

impl Eq for ChannelReestablish[src]

impl PartialEq<ChannelReestablish> for ChannelReestablish[src]

impl StrictDecode for ChannelReestablish[src]

type Error = Error

Implementation-dependent error type

impl StrictEncode for ChannelReestablish[src]

type Error = Error

Implementation-dependent error type

impl StructuralEq for ChannelReestablish[src]

impl StructuralPartialEq for ChannelReestablish[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,