Struct ethcore::snapshot::Watcher[][src]

pub struct Watcher { /* fields omitted */ }

A ChainNotify implementation which will trigger a snapshot event at certain block numbers.

Methods

impl Watcher
[src]

Create a new Watcher which will trigger a snapshot event once every period blocks, but only after that block is history blocks old.

Trait Implementations

impl ChainNotify for Watcher
[src]

fires when chain has new blocks.

fires when chain achieves active mode

fires when chain achieves passive mode

fires when chain broadcasts a message

fires when new transactions are received from a peer

Auto Trait Implementations

impl Send for Watcher

impl Sync for Watcher