Trait forest_filecoin::shim::externs::Rand

source ·
pub trait Rand {
    // Required methods
    fn get_chain_randomness(&self, round: ChainEpoch_v2) -> Result<[u8; 32]>;
    fn get_beacon_randomness(&self, round: ChainEpoch_v2) -> Result<[u8; 32]>;
}

Required Methods§

Trait Implementations§

Implementations on Foreign Types§

source§

impl Rand for Box<dyn Rand>

Implementors§

source§

impl<DB> Rand for ChainRand<DB>
where DB: Blockstore,