pub trait ChainWrapper: CoreChainSpec {
    fn chain_fetch<T>(
        &self,
        data: &H256,
        catalyst: fn(_: &BlockData) -> T
    ) -> Option<T> { ... } fn chain_size(&self) -> usize { ... } fn contains_hash(&self, hash: &H256) -> bool { ... } fn depth(&self) -> u128 { ... } fn epoch_current(&self, current_ts: BlockTs) -> BlockTs { ... } fn position_pos(&self) -> u128 { ... } fn position_pow(&self) -> u128 { ... } }

Provided Methods

Implementors