#include <common/bloom.h>
#include <hash.h>
#include <primitives/transaction.h>
#include <random.h>
#include <script/script.h>
#include <script/solver.h>
#include <span.h>
#include <streams.h>
#include <util/fastrange.h>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <limits>
#include <vector>
Go to the source code of this file.
|
static uint32_t | RollingBloomHash (unsigned int nHashNum, uint32_t nTweak, Span< const unsigned char > vDataToHash) |
|
|
static constexpr double | LN2SQUARED = 0.4804530139182014246671025263266649717305529515945455 |
|
static constexpr double | LN2 = 0.6931471805599453094172321214581765680755001343602552 |
|
◆ RollingBloomHash()
static uint32_t RollingBloomHash |
( |
unsigned int |
nHashNum, |
|
|
uint32_t |
nTweak, |
|
|
Span< const unsigned char > |
vDataToHash |
|
) |
| |
|
inlinestatic |
◆ LN2
constexpr double LN2 = 0.6931471805599453094172321214581765680755001343602552 |
|
staticconstexpr |
◆ LN2SQUARED
constexpr double LN2SQUARED = 0.4804530139182014246671025263266649717305529515945455 |
|
staticconstexpr |