Trait vapcore_sync::SyncProvider [−][src]
Current sync status
Required methods
fn status(&self) -> VapSyncStatus
[src]
Get sync status
fn peers(&self) -> Vec<PeerInfo>
[src]
Get peers information
fn enode(&self) -> Option<String>
[src]
Get the enode if available.
fn sync_notification(&self) -> Notification<SyncState>
[src]
gets sync status notifications
fn transactions_stats(&self) -> BTreeMap<H256, TransactionStats>
[src]
Returns propagation count for pending transactions.
fn is_major_syncing(&self) -> bool
[src]
are we in the middle of a major sync?
Implementors
impl SyncProvider for VapSync
[src]
fn status(&self) -> VapSyncStatus
[src]
Get sync status
fn peers(&self) -> Vec<PeerInfo>
[src]
Get sync peers