[#CMerkleBlock] = CMerkleBlock :mrdocs: Used to relay blocks as header + vector<merkle branch> to filtered nodes. == Synopsis Declared in `<merkleblock.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | xref:CMerkleBlock/2constructor-09.adoc[`CMerkleBlock`] [.small]#[constructor]# | Constructors |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:CMerkleBlock/header.adoc[`header`] | Public only for unit testing | xref:CMerkleBlock/txn.adoc[`txn`] | Partial merkle tree proving which transactions the block contains. | xref:CMerkleBlock/vMatchedTxn.adoc[`vMatchedTxn`] | Public only for unit testing and relay testing (not relayed). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#