Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Enumerations | Variables
bloom.h File Reference
#include "serialize.h"
#include <vector>
+ Include dependency graph for bloom.h:
+ This graph shows which files directly or indirectly include this file:

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 sends them. More...
 

Enumerations

enum  bloomflags {
  BLOOM_UPDATE_NONE = 0,
  BLOOM_UPDATE_ALL = 1,
  BLOOM_UPDATE_P2PUBKEY_ONLY = 2,
  BLOOM_UPDATE_MASK = 3
}
 

Variables

static const unsigned int MAX_BLOOM_FILTER_SIZE = 36000
 
static const unsigned int MAX_HASH_FUNCS = 50
 

Enumeration Type Documentation

enum bloomflags
Enumerator
BLOOM_UPDATE_NONE 
BLOOM_UPDATE_ALL 
BLOOM_UPDATE_P2PUBKEY_ONLY 
BLOOM_UPDATE_MASK 

Definition at line 22 of file bloom.h.

Variable Documentation

const unsigned int MAX_BLOOM_FILTER_SIZE = 36000
static

Definition at line 17 of file bloom.h.

Referenced by CBloomFilter::IsWithinSizeConstraints().

const unsigned int MAX_HASH_FUNCS = 50
static

Definition at line 18 of file bloom.h.

Referenced by CBloomFilter::IsWithinSizeConstraints().