Constructors
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...
| 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. |