sp_domains::merkle_tree

Function authorities_merkle_tree

source
pub fn authorities_merkle_tree<StakeWeight: Encode>(
    authorities: &[(OperatorPublicKey, StakeWeight)],
) -> MerkleTree
Expand description

Constructs a merkle tree from given authorities.