Struct lightning::chain::keysinterface::StaticPaymentOutputDescriptor[][src]

pub struct StaticPaymentOutputDescriptor {
    pub outpoint: OutPoint,
    pub output: TxOut,
    pub channel_keys_id: [u8; 32],
    pub channel_value_satoshis: u64,
}

Information about a spendable output to our “payment key”. See SpendableOutputDescriptor::StaticPaymentOutput for more details on how to spend this.

Fields

outpoint: OutPoint

The outpoint which is spendable

output: TxOut

The output which is referenced by the given outpoint

channel_keys_id: [u8; 32]

Arbitrary identification information returned by a call to Sign::channel_keys_id(). This may be useful in re-deriving keys used in the channel to spend the output.

channel_value_satoshis: u64

The value of the channel which this transactions spends.

Implementations

impl StaticPaymentOutputDescriptor[src]

pub const MAX_WITNESS_LENGTH: usize[src]

The maximum length a well-formed witness spending one of these should have.

Trait Implementations

impl Clone for StaticPaymentOutputDescriptor[src]

impl Debug for StaticPaymentOutputDescriptor[src]

impl PartialEq<StaticPaymentOutputDescriptor> for StaticPaymentOutputDescriptor[src]

impl StructuralPartialEq for StaticPaymentOutputDescriptor[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.