Realm

oa::crypto::merkle_root

Compute the Merkle root, duplicating the final node of each odd level.

FnRust public API

Function Documentation

pub fn merkle_root( leaves: &[Hash] ) -> Hash
Compute the Merkle root, duplicating the final node of each odd level.