Bitcoin
Functions
merkle.cpp File Reference
#include <consensus/merkle.h>
#include <hash.h>

Functions

uint256 ComputeMerkleRoot (std::vector< uint256 > hashes, bool *mutated)
 
uint256 BlockMerkleRoot (const CBlock &block, bool *mutated)
 
uint256 BlockWitnessMerkleRoot (const CBlock &block, bool *mutated)
 

Function Documentation

◆ BlockMerkleRoot()

uint256 BlockMerkleRoot ( const CBlock block,
bool *  mutated 
)

◆ BlockWitnessMerkleRoot()

uint256 BlockWitnessMerkleRoot ( const CBlock block,
bool *  mutated 
)

◆ ComputeMerkleRoot()

uint256 ComputeMerkleRoot ( std::vector< uint256 hashes,
bool *  mutated 
)