16 std::vector<uint256>
ComputeMerkleBranch(
const std::vector<uint256>& leaves, uint32_t position);
uint256 ComputeMerkleRoot(const std::vector< uint256 > &leaves, bool *mutated=nullptr)
std::vector< uint256 > ComputeMerkleBranch(const std::vector< uint256 > &leaves, uint32_t position)
uint256 BlockWitnessMerkleRoot(const CBlock &block, bool *mutated=nullptr)
uint256 BlockMerkleRoot(const CBlock &block, bool *mutated=nullptr)
uint256 ComputeMerkleRootFromBranch(const uint256 &leaf, const std::vector< uint256 > &branch, uint32_t position)
std::vector< uint256 > BlockMerkleBranch(const CBlock &block, uint32_t position)