Constructors

Synopses

Declared in <blockfilter.h>

Construct an empty BlockFilter.

constexpr
BlockFilter() = default;

Construct a new BlockFilter of the specified type from a block.

BlockFilter(
    BlockFilterType filter_type,
    CBlock const& block,
    CBlockUndo const& block_undo);

Reconstruct a BlockFilter from parts.

BlockFilter(
    BlockFilterType filter_type,
    uint256 const& block_hash,
    std::vector<unsigned char> filter,
    bool skip_decode_check);

Parameters

Name

Description

filter_type

The type of filter to build.

block

The block to build the filter from.

block_undo

Undo data for the block, providing spent outputs.

block_hash

Hash of the block this filter is for.

filter

The serialized filter contents.

skip_decode_check

If true, skip validating the encoded filter.

Created with MrDocs