CMerkleBlock

Used to relay blocks as header + vector<merkle branch> to filtered nodes.

Synopsis

Declared in <merkleblock.h>

class CMerkleBlock;

Description

NOTE: The class assumes that the given CBlock has at least 1 transaction. If the CBlock has 0 txs, it will hit an assertion.

Member Functions

NameDescription
CMerkleBlock [constructor]Constructors

Data Members

NameDescription
header Public only for unit testing
txn Partial merkle tree proving which transactions the block contains.
vMatchedTxn Public only for unit testing and relay testing (not relayed).