Bitcoin ABC 0.30.5
P2P Digital Currency
Macros | Functions
bloom.cpp File Reference
#include <common/bloom.h>
#include <hash.h>
#include <primitives/transaction.h>
#include <random.h>
#include <script/script.h>
#include <script/standard.h>
#include <streams.h>
#include <util/fastrange.h>
#include <cmath>
#include <cstdlib>
#include <algorithm>
Include dependency graph for bloom.cpp:

Go to the source code of this file.

Macros

#define LN2SQUARED   0.4804530139182014246671025263266649717305529515945455
 
#define LN2   0.6931471805599453094172321214581765680755001343602552
 

Functions

static uint32_t RollingBloomHash (uint32_t nHashNum, uint32_t nTweak, Span< const uint8_t > vDataToHash)
 

Macro Definition Documentation

◆ LN2

#define LN2   0.6931471805599453094172321214581765680755001343602552

Definition at line 21 of file bloom.cpp.

◆ LN2SQUARED

#define LN2SQUARED   0.4804530139182014246671025263266649717305529515945455

Definition at line 20 of file bloom.cpp.

Function Documentation

◆ RollingBloomHash()

static uint32_t RollingBloomHash ( uint32_t  nHashNum,
uint32_t  nTweak,
Span< const uint8_t >  vDataToHash 
)
inlinestatic

Definition at line 210 of file bloom.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: