From 2484cacb7a6367b24e924dba0825c843b1dfc1c3 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 31 May 2023 15:43:01 +0100 Subject: [PATCH] Add public Boost headers explicitly --- src/node/miner.h | 3 +++ src/txmempool.h | 3 +++ src/txrequest.cpp | 6 +++++- test/lint/lint-includes.py | 7 ++++++- 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/node/miner.h b/src/node/miner.h index f1ccffff55c..70de9e1db0f 100644 --- a/src/node/miner.h +++ b/src/node/miner.h @@ -14,7 +14,10 @@ #include #include +#include +#include #include +#include #include class ArgsManager; diff --git a/src/txmempool.h b/src/txmempool.h index 769b7f69eac..e7a42c50e38 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -33,8 +33,11 @@ #include #include +#include +#include #include #include +#include #include class CBlockIndex; diff --git a/src/txrequest.cpp b/src/txrequest.cpp index 40d36132de3..dd042103bdf 100644 --- a/src/txrequest.cpp +++ b/src/txrequest.cpp @@ -10,8 +10,12 @@ #include #include -#include +#include #include +#include +#include +#include +#include #include #include diff --git a/test/lint/lint-includes.py b/test/lint/lint-includes.py index 459030bb0ba..b14caa4855f 100755 --- a/test/lint/lint-includes.py +++ b/test/lint/lint-includes.py @@ -23,15 +23,20 @@ EXCLUDED_DIRS = ["src/leveldb/", EXPECTED_BOOST_INCLUDES = ["boost/date_time/posix_time/posix_time.hpp", "boost/multi_index/hashed_index.hpp", + "boost/multi_index/identity.hpp", + "boost/multi_index/indexed_by.hpp", "boost/multi_index/ordered_index.hpp", "boost/multi_index/sequenced_index.hpp", + "boost/multi_index/tag.hpp", "boost/multi_index_container.hpp", "boost/process.hpp", "boost/signals2/connection.hpp", "boost/signals2/optional_last_value.hpp", "boost/signals2/signal.hpp", "boost/test/included/unit_test.hpp", - "boost/test/unit_test.hpp"] + "boost/test/unit_test.hpp", + "boost/tuple/tuple.hpp", + ] def get_toplevel():