pub trait CoreChainSpec {
    fn chain(&self) -> &HashMap<H256, BlockData>;
    fn epoch(&self) -> &Epoch;
    fn tip(&self) -> H256;
    fn lead(&self) -> u128;
    fn length(&self) -> u128;
    fn map(&self) -> &HashMap<H256, HashMap<H256, H160>>;
    fn position(&self) -> &Position;
    fn timestamp(&self) -> i64;
}

Required Methods

Implementors