Trait vapcore_sync::light_sync::SyncInfo [−][src]
Trait for erasing the type of a light sync object and exposing read-only methods.
Required methods
fn highest_block(&self) -> Option<u64>[src]
Get the highest block advertised on the network.
fn start_block(&self) -> u64[src]
Get the block number at the time of sync start.
fn is_major_importing(&self) -> bool[src]
Whether major sync is underway.
fn sync_notification(&self) -> Notification<ChainSyncState>[src]
returns the receieving end of a futures::mpsc unbounded channel poll the channel for changes to sync state