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
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ChainState
impl Send for ChainState
impl Sync for ChainState
impl Unpin for ChainState
impl UnwindSafe for ChainState
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