Bitcoin Core 28.99.0
P2P Digital Currency
minisketchwrapper.h
Go to the documentation of this file.
1// Copyright (c) 2021 The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5#ifndef BITCOIN_NODE_MINISKETCHWRAPPER_H
6#define BITCOIN_NODE_MINISKETCHWRAPPER_H
7
8#include <minisketch.h>
9
10#include <cstddef>
11#include <cstdint>
12
13namespace node {
15Minisketch MakeMinisketch32(size_t capacity);
17Minisketch MakeMinisketch32FP(size_t max_elements, uint32_t fpbits);
18} // namespace node
19
20#endif // BITCOIN_NODE_MINISKETCHWRAPPER_H
Definition: messages.h:20
Minisketch MakeMinisketch32FP(size_t max_elements, uint32_t fpbits)
Wrapper around Minisketch::CreateFP.
Minisketch MakeMinisketch32(size_t capacity)
Wrapper around Minisketch::Minisketch(32, implementation, capacity).