Struct lightning_signer::monitor::State[][src]

pub struct State {
    pub height: u32,
    pub funding_txids: Vec<Txid>,
    pub funding_vouts: Vec<u32>,
    pub funding_inputs: Set<OutPoint>,
    pub funding_height: Option<u32>,
    pub funding_outpoint: Option<OutPoint>,
    pub funding_double_spent_height: Option<u32>,
    pub closing_height: Option<u32>,
}
Expand description

State

Fields

height: u32

Chain height

funding_txids: Vec<Txid>

funding txids

funding_vouts: Vec<u32>

the funding output index for each funding tx

funding_inputs: Set<OutPoint>

inputs derived from funding_txs for convenience

funding_height: Option<u32>

Number of confirmations of the funding transaction

funding_outpoint: Option<OutPoint>

The actual funding outpoint on-chain

funding_double_spent_height: Option<u32>

Number of confirmations of a transaction that double-spends a funding input

closing_height: Option<u32>

Number of confirmations of the closing transaction

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.