pub trait GenesisCommitment {
    // Required method
    fn root(&self) -> Result<MerkleRoot>;
}

Required Methods§

source

fn root(&self) -> Result<MerkleRoot>

Calculates the merkle root of the state of the entity.

Implementations on Foreign Types§

source§

impl GenesisCommitment for Genesis

source§

fn root(&self) -> Result<MerkleRoot>

source§

impl GenesisCommitment for ConsensusParameters

source§

fn root(&self) -> Result<MerkleRoot>

source§

impl GenesisCommitment for GasCosts

source§

fn root(&self) -> Result<MerkleRoot>

source§

impl GenesisCommitment for CompressedCoin

source§

fn root(&self) -> Result<MerkleRoot>

source§

impl GenesisCommitment for CompressedMessage

source§

fn root(&self) -> Result<MerkleRoot>

Implementors§