#include <blockfilter.h>
#include <crypto/siphash.h>
#include <hash.h>
#include <primitives/transaction.h>
#include <script/script.h>
#include <streams.h>
#include <mutex>
#include <sstream>
Go to the source code of this file.
◆ AllBlockFilterTypes()
◆ BasicFilterElements()
◆ BlockFilterTypeByName()
bool BlockFilterTypeByName |
( |
const std::string & |
name, |
|
|
BlockFilterType & |
filter_type |
|
) |
| |
Find a filter type by its human-readable name.
Definition at line 211 of file blockfilter.cpp.
◆ BlockFilterTypeName()
Get the human-readable name for a filter type.
Returns empty string for unknown types.
Definition at line 205 of file blockfilter.cpp.
◆ GolombRiceDecode()
template<typename IStream >
static uint64_t GolombRiceDecode |
( |
BitStreamReader< IStream > & |
bitreader, |
|
|
uint8_t |
P |
|
) |
| |
|
static |
◆ GolombRiceEncode()
template<typename OStream >
static void GolombRiceEncode |
( |
BitStreamWriter< OStream > & |
bitwriter, |
|
|
uint8_t |
P, |
|
|
uint64_t |
x |
|
) |
| |
|
static |
◆ ListBlockFilterTypes()
const std::string& ListBlockFilterTypes |
( |
| ) |
|
Get a comma-separated list of known filter type names.
Definition at line 235 of file blockfilter.cpp.
◆ MapIntoRange()
static uint64_t MapIntoRange |
( |
uint64_t |
x, |
|
|
uint64_t |
n |
|
) |
| |
|
static |
◆ g_filter_types
◆ GCS_SER_TYPE
SerType used to serialize parameters in GCS filter encoding.
Definition at line 17 of file blockfilter.cpp.
◆ GCS_SER_VERSION
constexpr int GCS_SER_VERSION = 0 |
|
static |
Protocol version used to serialize parameters in GCS filter encoding.
Definition at line 20 of file blockfilter.cpp.