![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
Used to relay blocks as header + vector<merkle branch> to filtered nodes. More...
#include <merkleblock.h>
Public Member Functions | |
| CMerkleBlock (const CBlock &block, CBloomFilter &filter) | |
| Create from a CBlock, filtering transactions according to filter Note that this will call IsRelevantAndUpdate on the filter for each transaction, thus the filter will likely be modified. More... | |
| CMerkleBlock (const CBlock &block, const std::set< uint256 > &txids) | |
| CMerkleBlock () | |
| SERIALIZE_METHODS (CMerkleBlock, obj) | |
Public Attributes | |
| CBlockHeader | header |
| Public only for unit testing. More... | |
| CPartialMerkleTree | txn |
| std::vector< std::pair< unsigned int, uint256 > > | vMatchedTxn |
| Public only for unit testing and relay testing (not relayed). More... | |
Private Member Functions | |
| CMerkleBlock (const CBlock &block, CBloomFilter *filter, const std::set< uint256 > *txids) | |
Used to relay blocks as header + vector<merkle branch> to filtered nodes.
Definition at line 117 of file merkleblock.h.
|
inline |
Create from a CBlock, filtering transactions according to filter Note that this will call IsRelevantAndUpdate on the filter for each transaction, thus the filter will likely be modified.
Definition at line 137 of file merkleblock.h.
Definition at line 140 of file merkleblock.h.
|
inline |
Definition at line 142 of file merkleblock.h.
|
private |
Definition at line 33 of file merkleblock.cpp.
|
inline |
Definition at line 144 of file merkleblock.h.
| CBlockHeader CMerkleBlock::header |
Public only for unit testing.
Definition at line 121 of file merkleblock.h.
| CPartialMerkleTree CMerkleBlock::txn |
Definition at line 122 of file merkleblock.h.
| std::vector<std::pair<unsigned int, uint256> > CMerkleBlock::vMatchedTxn |
Public only for unit testing and relay testing (not relayed).
Used only when a bloom filter is specified to allow testing the transactions which matched the bloom filter.
Definition at line 130 of file merkleblock.h.