Trait vapcore_snapshot::Oracle [−][src]
Helper trait for transforming hashes to block numbers and checking if syncing.
Required methods
fn to_number(&self, hash: H256) -> Option<u64>
[src]
Maps a block hash to a block number
fn is_major_importing(&self) -> bool
[src]
Are we currently syncing?