Trait vapcore_sync::LightSyncInfo[][src]

pub trait LightSyncInfo: Send + Sync {
    fn highest_block(&self) -> Option<u64>;
fn start_block(&self) -> u64;
fn is_major_importing(&self) -> bool; }

Wrapper around light_sync::SyncInfo to expose those methods without the concrete type LightSync

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.

Loading content...

Implementors

Loading content...