pub type MerkleRoot = Hash;
Expand description
Merkel root hash
Aliased Type§
pub struct MerkleRoot(/* private fields */);
Trait Implementations§
Source§impl TryFrom<MerkleRoot> for MerkleRoot
impl TryFrom<MerkleRoot> for MerkleRoot
Source§type Error = ProtocolError
type Error = ProtocolError
The type returned in the event of a conversion error.
Source§fn try_from(root: MerkleRoot) -> Result<MerkleRoot, Self::Error>
fn try_from(root: MerkleRoot) -> Result<MerkleRoot, Self::Error>
Performs the conversion.