Bitcoin Core  0.20.99
P2P Digital Currency
Functions
merkle.h File Reference
#include <vector>
#include <primitives/block.h>
#include <uint256.h>
Include dependency graph for merkle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

Function Documentation

◆ BlockMerkleRoot()

uint256 BlockMerkleRoot ( const CBlock block,
bool *  mutated = nullptr 
)

Definition at line 65 of file merkle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BlockWitnessMerkleRoot()

uint256 BlockWitnessMerkleRoot ( const CBlock block,
bool *  mutated = nullptr 
)

Definition at line 75 of file merkle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ComputeMerkleRoot()

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

Definition at line 45 of file merkle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: