Struct lightning_signer::monitor::State
source · 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§
source§impl<'de> Deserialize<'de> for State
impl<'de> Deserialize<'de> for State
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more