[][src]Trait sync::SyncListener

pub trait SyncListener: Send + 'static {
    fn synchronization_state_switched(&self, is_synchronizing: bool);
fn best_storage_block_inserted(&self, block_hash: &H256); }
[]

Synchronization events listener

Required Methods

[]

Called when node switches to synchronization state

[]

Called when new best storage block is inserted

Implementors