CBloomFilter::contains

contains overloads

Synopses

Declared in <common/bloom.h>

Test whether a raw key may be in the filter.

bool
contains(std::span<unsigned char const> vKey) const;
» more...

Test whether an outpoint may be in the filter.

bool
contains(COutPoint const& outpoint) const;
» more...

Return Value

  • true if the key may be present (subject to false positives).
  • true if the outpoint may be present (subject to false positives).

Parameters

NameDescription
vKeyThe bytes to test.
outpointThe transaction outpoint to test.