BlockFilter

Complete block filter struct as defined in BIP 157. Serialization matches payload of "cfilter" messages.

Synopsis

Declared in <blockfilter.h>

class BlockFilter;

Member Functions

NameDescription
BlockFilter [constructor]Constructors
ComputeHeader Compute the filter header given the previous one.
GetBlockHash Returns the hash of the block this filter is for.
GetEncodedFilter Returns the serialized contents of the underlying filter.
GetFilter Returns the underlying GCS filter.
GetFilterType Returns the type of this filter.
GetHash Compute the filter hash.
Serialize Serialize the filter to a stream.
Unserialize Deserialize the filter from a stream.