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]
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 Clone for StaticPaymentOutputDescriptor
[src]fn clone(&self) -> StaticPaymentOutputDescriptor
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for StaticPaymentOutputDescriptor
[src]
impl Debug for StaticPaymentOutputDescriptor
[src]impl PartialEq<StaticPaymentOutputDescriptor> for StaticPaymentOutputDescriptor
[src]
impl PartialEq<StaticPaymentOutputDescriptor> for StaticPaymentOutputDescriptor
[src]fn eq(&self, other: &StaticPaymentOutputDescriptor) -> bool
[src]
fn ne(&self, other: &StaticPaymentOutputDescriptor) -> bool
[src]
Auto Trait Implementations
impl Send for StaticPaymentOutputDescriptor
impl Send for StaticPaymentOutputDescriptor
impl Sync for StaticPaymentOutputDescriptor
impl Sync for StaticPaymentOutputDescriptor
impl Unpin for StaticPaymentOutputDescriptor
impl Unpin for StaticPaymentOutputDescriptor
impl UnwindSafe for StaticPaymentOutputDescriptor
impl UnwindSafe for StaticPaymentOutputDescriptor