#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>
Go to the source code of this file.
|
#define | LN2SQUARED 0.4804530139182014246671025263266649717305529515945455 |
|
#define | LN2 0.6931471805599453094172321214581765680755001343602552 |
|
|
static uint32_t | RollingBloomHash (uint32_t nHashNum, uint32_t nTweak, Span< const uint8_t > vDataToHash) |
|
◆ LN2
#define LN2 0.6931471805599453094172321214581765680755001343602552 |
◆ LN2SQUARED
#define LN2SQUARED 0.4804530139182014246671025263266649717305529515945455 |
◆ RollingBloomHash()
static uint32_t RollingBloomHash |
( |
uint32_t |
nHashNum, |
|
|
uint32_t |
nTweak, |
|
|
Span< const uint8_t > |
vDataToHash |
|
) |
| |
|
inlinestatic |