Trait ethsync::SyncProvider [] [src]

pub trait SyncProvider: Send + Sync {
    fn status(&self) -> SyncStatus;
    fn peers(&self) -> Vec<PeerInfo>;
    fn enode(&self) -> Option<String>;
    fn transactions_stats(&self) -> BTreeMap<H256, TransactionStats>;
}

Current sync status

Required Methods

Get sync status

Get peers information

Get the enode if available.

Returns propagation count for pending transactions.

Trait Implementations

impl IpcConfig for SyncProvider
[src]

Current service api version Should be increased if any of the methods changes signature Read more

Current ipc protocol version Should be increased only if signature of system methods changes Read more

Default handshake requires exact versions match

Implementors