Trait ssz_rs::Merkleized
source · pub trait Merkleized {
// Required method
fn hash_tree_root(&mut self) -> Result<Node, MerkleizationError>;
}
Expand description
A Merkleized
type provides a “hash tree root” following the SSZ spec.
Required Methods§
sourcefn hash_tree_root(&mut self) -> Result<Node, MerkleizationError>
fn hash_tree_root(&mut self) -> Result<Node, MerkleizationError>
Compute the “hash tree root” of Self
.