aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-09-29 09:48:36 +0800
committerfanquake <fanquake@gmail.com>2021-09-29 09:48:36 +0800
commita11da7541148b5bb8e293c0ee49b2856a6628099 (patch)
tree5007f220cb0d1ed5175bae030479bb63c3a5f2ee
parentf1ed1d3194d4160923f3b02fa1acffd805ab4428 (diff)
bloom: cleanup includes
-rw-r--r--src/bloom.cpp12
-rw-r--r--src/bloom.h1
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>