Struct dlc_manager::chain_monitor::ChainMonitor
source · pub struct ChainMonitor { /* private fields */ }Expand description
A ChainMonitor keeps a list of transaction ids to watch for in the blockchain,
and some associated information used to apply an action when the id is seen.
Implementations§
source§impl ChainMonitor
impl ChainMonitor
sourcepub fn new(init_height: u64) -> Self
pub fn new(init_height: u64) -> Self
Returns a new ChainMonitor with fields properly initialized.
Trait Implementations§
source§impl Debug for ChainMonitor
impl Debug for ChainMonitor
source§impl PartialEq<ChainMonitor> for ChainMonitor
impl PartialEq<ChainMonitor> for ChainMonitor
source§fn eq(&self, other: &ChainMonitor) -> bool
fn eq(&self, other: &ChainMonitor) -> bool
This method tests for
self and other values to be equal, and is used
by ==.