5#ifndef BITCOIN_CONSENSUS_MERKLE_H
6#define BITCOIN_CONSENSUS_MERKLE_H
uint256 ComputeMerkleRoot(std::vector< uint256 > hashes, bool *mutated=nullptr)
uint256 BlockWitnessMerkleRoot(const CBlock &block, bool *mutated=nullptr)
std::vector< uint256 > TransactionMerklePath(const CBlock &block, uint32_t position)
Compute merkle path to the specified transaction.
uint256 BlockMerkleRoot(const CBlock &block, bool *mutated=nullptr)