referrerpolicy=no-referrer-when-downgrade

leaf_hash

Function leaf_hash 

Source
pub fn leaf_hash(payload: &[u8]) -> Hash
Expand description

Hash a payload into a stream MMR leaf at LEAF_VERSION. Source, stream and position are structural and not in the preimage.