Wrapper around Minisketch::CreateFP.

Synopsis

Declared in <node/minisketchwrapper.h>

Minisketch
MakeMinisketch32FP(
    size_t max_elements,
    uint32_t fpbits);

Return Value

A 32‐bit‐element Minisketch sized for max_elements at the given false‐positive rate.

Parameters

Name

Description

max_elements

The maximum number of elements the sketch will contain.

fpbits

The target false‐positive rate, expressed in bits.

Created with MrDocs