Compute the Merkle root of the witness transactions in a block.

Synopsis

Declared in <consensus/merkle.h>

uint256
BlockWitnessMerkleRoot(CBlock const& block);

Return Value

The witness Merkle root of the block's transactions.

Parameters

Name

Description

block

The block whose witness transaction hashes form the tree leaves.

Created with MrDocs