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

pub fn bitcoin_merkle_root_inline<T>(data: &mut [T]) -> T where
    T: Hash + Encodable,
    <T as Hash>::Engine: Write

Calculates the merkle root of a list of hashes inline into the allocated slice.

In most cases, you’ll want to use bitcoin_merkle_root instead.