Module sapio_bitcoin::util::hash[][src]

Hash functions

Utility functions related to hashing data, including merkleization

Functions

bitcoin_merkle_root

Calculates the merkle root of an iterator of hashes.

bitcoin_merkle_root_inline

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