Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
bloom.h File Reference


Go to the source code of this file.
Classes | |
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... | |
Enumerations | |
enum | bloomflags { BLOOM_UPDATE_NONE = 0, BLOOM_UPDATE_ALL = 1, BLOOM_UPDATE_P2PUBKEY_ONLY = 2, BLOOM_UPDATE_MASK = 3 } |
First two bits of nFlags control how much IsRelevantAndUpdate actually updates The remaining bits are reserved. More... | |
Variables | |
static const unsigned int | MAX_BLOOM_FILTER_SIZE = 36000 |
20,000 items with fp rate < 0.1% or 10,000 items and <0.0001% More... | |
static const unsigned int | MAX_HASH_FUNCS = 50 |
Enumeration Type Documentation
◆ bloomflags
enum bloomflags |
Variable Documentation
◆ MAX_BLOOM_FILTER_SIZE
|
static |
20,000 items with fp rate < 0.1% or 10,000 items and <0.0001%
Definition at line 19 of file bloom.h.
Referenced by CBloomFilter::IsWithinSizeConstraints().
◆ MAX_HASH_FUNCS
|
static |
Definition at line 20 of file bloom.h.
Referenced by CBloomFilter::IsWithinSizeConstraints().