BlockFilter::BlockFilter

Constructors

Synopses

Declared in <blockfilter.h>

Construct an empty BlockFilter.

constexpr
BlockFilter() = default;
» more...

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

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

Reconstruct a BlockFilter from parts.

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

Parameters

NameDescription
filter_typeThe type of filter to build.
blockThe block to build the filter from.
block_undoUndo data for the block, providing spent outputs.
block_hashHash of the block this filter is for.
filterThe serialized filter contents.
skip_decode_checkIf true, skip validating the encoded filter.