[][src]Function bitcoin::util::hash::bitcoin_merkle_root

pub fn bitcoin_merkle_root<T, I>(iter: I) -> T where
    T: Hash + Encodable,
    <T as Hash>::Engine: Write,
    I: ExactSizeIterator<Item = T>, 

Calculates the merkle root of an iterator of hashes.