CMerkleBlock::CMerkleBlock

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.

Synopsis

Declared in <merkleblock.h>

CMerkleBlock(
    CBlock const& block,
    CBloomFilter& filter);

Parameters

NameDescription
blockThe block to build the merkle proof from.
filterThe bloom filter selecting which transactions to include; updated per transaction.