|
unsigned int | CalcTreeWidth (int height) const |
| helper function to efficiently calculate the number of nodes at given height in the merkle tree More...
|
|
uint256 | CalcHash (int height, unsigned int pos, const std::vector< uint256 > &vTxid) |
| calculate the hash of a node in the merkle tree (at leaf level: the txid's themselves) More...
|
|
void | TraverseAndBuild (int height, unsigned int pos, const std::vector< uint256 > &vTxid, const std::vector< bool > &vMatch) |
| recursive function that traverses tree nodes, storing the data as bits and hashes More...
|
|
uint256 | TraverseAndExtract (int height, unsigned int pos, unsigned int &nBitsUsed, unsigned int &nHashUsed, std::vector< uint256 > &vMatch, std::vector< unsigned int > &vnIndex) |
| recursive function that traverses tree nodes, consuming the bits and hashes produced by TraverseAndBuild. More...
|
|
unsigned int | nTransactions |
| the total number of transactions in the block More...
|
|
std::vector< bool > | vBits |
| node-is-parent-of-matched-txid bits More...
|
|
std::vector< uint256 > | vHash |
| txids and internal hashes More...
|
|
bool | fBad |
| flag set when encountering invalid data More...
|
|
Definition at line 17 of file pmt_tests.cpp.
◆ CPartialMerkleTreeTester()
◆ Damage()
void CPartialMerkleTreeTester::Damage |
( |
| ) |
|
|
inline |
◆ m_rng
The documentation for this class was generated from the following file: