BlockFilter::BlockFilter

Reconstruct a BlockFilter from parts.

Synopsis

Declared in <blockfilter.h>

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

Parameters

NameDescription
filter_typeThe type of filter to reconstruct.
block_hashHash of the block this filter is for.
filterThe serialized filter contents.
skip_decode_checkIf true, skip validating the encoded filter.