Trait fvm::kernel::NetworkOps

source ·
pub trait NetworkOps {
    // Required methods
    fn network_context(&self) -> Result<NetworkContext>;
    fn tipset_cid(&self, epoch: ChainEpoch) -> Result<Cid>;
}
Expand description

Network-related operations.

Required Methods§

source

fn network_context(&self) -> Result<NetworkContext>

Network information (epoch, version, etc.).

source

fn tipset_cid(&self, epoch: ChainEpoch) -> Result<Cid>

The CID of the tipset at the specified epoch.

Implementors§