Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
merkle.h File Reference
#include <stdint.h>
#include <vector>
#include <primitives/transaction.h>
#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) |
Function Documentation
◆ BlockMerkleRoot()
Definition at line 66 of file merkle.cpp.
References ComputeMerkleRoot(), and CBlock::vtx.
Referenced by CheckBlock(), CreateDevNetGenesisBlock(), CreateGenesisBlock(), and IncrementExtraNonce().
◆ ComputeMerkleRoot()
Definition at line 46 of file merkle.cpp.
References SHA256D64().
Referenced by BlockMerkleRoot(), CalcCbTxMerkleRootQuorums(), CSimplifiedMNList::CalcMerkleRoot(), and MerkleRoot().