[][src]Function exonum_merkledb::root_hash

pub fn root_hash<V: BinaryValue + ?Sized>(hashes: &[V]) -> Hash

Computes a Merkle root hash for a the given list of hashes.

If hashes are empty then Hash::zero() value is returned.