Struct ethcore::test_helpers::TestNotify[][src]

pub struct TestNotify {
    pub messages: RwLock<Vec<Bytes>>,
}

Test actor for chain events

Fields

Messages store

Trait Implementations

impl Default for TestNotify
[src]

Returns the "default value" for a type. Read more

impl ChainNotify for TestNotify
[src]

fires when chain broadcasts a message

fires when chain has new blocks.

fires when chain achieves active mode

fires when chain achieves passive mode

fires when new transactions are received from a peer

Auto Trait Implementations

impl Send for TestNotify

impl Sync for TestNotify