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;

Test whether an outpoint may be in the filter.

bool
contains(COutPoint const& outpoint) const;

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

Name

Description

vKey

The bytes to test.

outpoint

The transaction outpoint to test.

Created with MrDocs