Struct lightning_signer::policy::validator::ChainState
source · pub struct ChainState {
pub current_height: u32,
pub funding_depth: u32,
pub funding_double_spent_depth: u32,
pub closing_depth: u32,
}
Expand description
Blockchain state used by the validator
Fields§
§current_height: u32
The current blockchain height
funding_depth: u32
Zero or the number of confirmation of the funding tx
funding_double_spent_depth: u32
Zero or the number of confirmation of a double-spend of the funding tx
closing_depth: u32
Zero or the number of confirmations of a closing tx