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
Auto Trait Implementations
impl RefUnwindSafe for State
impl UnwindSafe for State
Blanket Implementations
Mutably borrows from an owned value. Read more