[#BlockMerkleRoot] = BlockMerkleRoot :mrdocs: Compute the Merkle root of the transactions in a block. *mutated is set to true if a duplicated subtree was found. == Synopsis Declared in `<consensus/merkle.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:uint256.adoc[uint256] BlockMerkleRoot( xref:CBlock.adoc[CBlock] const& block, bool* mutated = nullptr); ---- == Return Value The Merkle root of the block's transactions. == Parameters [cols="1,4"] |=== | Name| Description | *block* | The block whose transaction hashes form the tree leaves. | *mutated* | If non‐null, receives whether a duplicated subtree was found. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#