Constructors
Declared in <merkleblock.h>
Construct an empty merkle block.
constexpr
CMerkleBlock() = default;
» more...
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.
CMerkleBlock(
CBlock const& block,
CBloomFilter& filter);
» more...
Create from a CBlock, matching the txids in the set.
CMerkleBlock(
CBlock const& block,
std::set<Txid> const& txids);
» more...
| Name | Description |
|---|---|
| block | The block to build the merkle proof from. |
| filter | The bloom filter selecting which transactions to include; updated per transaction. |
| txids | The set of transaction ids to include in the proof. |