![]() |
Bitcoin Core 31.99.0
P2P Digital Currency
|
Go to the source code of this file.
Functions | |
| uint256 | ComputeMerkleRoot (std::vector< uint256 > hashes, bool *mutated=nullptr) |
| Compute a Merkle root from the provided leaf hashes. More... | |
| uint256 | BlockMerkleRoot (const CBlock &block, bool *mutated=nullptr) |
| uint256 | BlockWitnessMerkleRoot (const CBlock &block) |
| std::vector< uint256 > | TransactionMerklePath (const CBlock &block, uint32_t position) |
| Compute merkle path to the specified transaction. More... | |
Definition at line 77 of file merkle.cpp.
Definition at line 87 of file merkle.cpp.
Compute a Merkle root from the provided leaf hashes.
If non-null, *mutated is set to true if two identical hashes are paired at any tree level before the odd-count hash duplication step, and false otherwise.
Definition at line 52 of file merkle.cpp.
Compute merkle path to the specified transaction.
| [in] | block | the block |
| [in] | position | transaction for which to calculate the merkle path (0 is the coinbase) |
Definition at line 183 of file merkle.cpp.