diff options
author | fanquake <fanquake@gmail.com> | 2021-09-29 09:48:36 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-09-29 09:48:36 +0800 |
commit | a11da7541148b5bb8e293c0ee49b2856a6628099 (patch) | |
tree | 5007f220cb0d1ed5175bae030479bb63c3a5f2ee | |
parent | f1ed1d3194d4160923f3b02fa1acffd805ab4428 (diff) |
bloom: cleanup includes
-rw-r--r-- | src/bloom.cpp | 12 | ||||
-rw-r--r-- | src/bloom.h | 1 |
2 files changed, 8 insertions, 5 deletions
diff --git a/src/bloom.cpp b/src/bloom.cpp index 20722c8d5c..15e06389de 100644 --- a/src/bloom.cpp +++ b/src/bloom.cpp @@ -4,17 +4,19 @@ #include <bloom.h> -#include <primitives/transaction.h> #include <hash.h> +#include <primitives/transaction.h> +#include <random.h> #include <script/script.h> #include <script/standard.h> -#include <random.h> +#include <span.h> #include <streams.h> -#include <math.h> -#include <stdlib.h> - #include <algorithm> +#include <cmath> +#include <cstdlib> +#include <limits> +#include <vector> static constexpr double LN2SQUARED = 0.4804530139182014246671025263266649717305529515945455; static constexpr double LN2 = 0.6931471805599453094172321214581765680755001343602552; diff --git a/src/bloom.h b/src/bloom.h index 67177c6daa..422646d8b9 100644 --- a/src/bloom.h +++ b/src/bloom.h @@ -6,6 +6,7 @@ #define BITCOIN_BLOOM_H #include <serialize.h> +#include <span.h> #include <vector> |