#include <serialize.h>
#include <cstdint>
#include <vector>
Go to the source code of this file.
|
class | CBloomFilter |
| BloomFilter is a probabilistic filter which SPV clients provide so that we can filter the transactions we send them. More...
|
|
class | CRollingBloomFilter |
| RollingBloomFilter is a probabilistic "keep track of most recently inserted" set. More...
|
|
◆ bloomflags
First two bits of nFlags control how much IsRelevantAndUpdate actually updates.
The remaining bits are reserved.
Enumerator |
---|
BLOOM_UPDATE_NONE | |
BLOOM_UPDATE_ALL | |
BLOOM_UPDATE_P2PUBKEY_ONLY | |
BLOOM_UPDATE_MASK | |
Definition at line 24 of file bloom.h.
◆ MAX_BLOOM_FILTER_SIZE
const uint32_t MAX_BLOOM_FILTER_SIZE = 36000 |
|
static |
20,000 items with fp rate < 0.1% or 10,000 items and <0.0001%
Definition at line 17 of file bloom.h.
◆ MAX_HASH_FUNCS
const uint32_t MAX_HASH_FUNCS = 50 |
|
static |