diff --git a/src/arith_uint256.cpp b/src/arith_uint256.cpp index 5273e13c81..f4cd70255a 100644 --- a/src/arith_uint256.cpp +++ b/src/arith_uint256.cpp @@ -9,8 +9,6 @@ #include #include -#include -#include template base_uint::base_uint(const std::string& str) diff --git a/src/arith_uint256.h b/src/arith_uint256.h index 6248ac4e3f..0b3332724f 100644 --- a/src/arith_uint256.h +++ b/src/arith_uint256.h @@ -6,13 +6,11 @@ #ifndef BITCOIN_ARITH_UINT256_H #define BITCOIN_ARITH_UINT256_H -#include #include #include #include #include #include -#include class uint256; diff --git a/src/bench/base58.cpp b/src/bench/base58.cpp index 1521982baf..8199decd38 100644 --- a/src/bench/base58.cpp +++ b/src/bench/base58.cpp @@ -9,7 +9,6 @@ #include #include -#include static void Base58Encode(benchmark::Bench& bench) diff --git a/src/bench/bench.h b/src/bench/bench.h index 6f0022befd..955e85a201 100644 --- a/src/bench/bench.h +++ b/src/bench/bench.h @@ -6,7 +6,6 @@ #define BITCOIN_BENCH_BENCH_H #include -#include #include #include #include diff --git a/src/bench/block_assemble.cpp b/src/bench/block_assemble.cpp index aa31d3e6fe..e3e50dab96 100644 --- a/src/bench/block_assemble.cpp +++ b/src/bench/block_assemble.cpp @@ -12,7 +12,6 @@ #include -#include #include static void AssembleBlock(benchmark::Bench& bench) diff --git a/src/bench/chacha20.cpp b/src/bench/chacha20.cpp index a1b36cf250..33573a978b 100644 --- a/src/bench/chacha20.cpp +++ b/src/bench/chacha20.cpp @@ -2,7 +2,6 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include #include #include diff --git a/src/bench/chacha_poly_aead.cpp b/src/bench/chacha_poly_aead.cpp index e6a1c56fd2..c0c44e289d 100644 --- a/src/bench/chacha_poly_aead.cpp +++ b/src/bench/chacha_poly_aead.cpp @@ -2,7 +2,6 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include #include #include diff --git a/src/bench/duplicate_inputs.cpp b/src/bench/duplicate_inputs.cpp index 7f1f4953bf..d803ac2b56 100644 --- a/src/bench/duplicate_inputs.cpp +++ b/src/bench/duplicate_inputs.cpp @@ -4,7 +4,6 @@ #include #include -#include #include #include #include @@ -15,8 +14,6 @@ #include #include -#include -#include static void DuplicateInputs(benchmark::Bench& bench) diff --git a/src/bench/lockedpool.cpp b/src/bench/lockedpool.cpp index 194175eece..61211c8162 100644 --- a/src/bench/lockedpool.cpp +++ b/src/bench/lockedpool.cpp @@ -6,7 +6,6 @@ #include -#include #include #define ASIZE 2048 diff --git a/src/bench/mempool_eviction.cpp b/src/bench/mempool_eviction.cpp index 6be0fb0a4e..74460d54a0 100644 --- a/src/bench/mempool_eviction.cpp +++ b/src/bench/mempool_eviction.cpp @@ -6,8 +6,6 @@ #include #include -#include -#include static void AddTx(const CTransactionRef& tx, const CAmount& nFee, CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main, pool.cs) { diff --git a/src/bench/poly1305.cpp b/src/bench/poly1305.cpp index 8274949f0d..9745d3fcb1 100644 --- a/src/bench/poly1305.cpp +++ b/src/bench/poly1305.cpp @@ -2,7 +2,6 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include #include #include diff --git a/src/bench/rollingbloom.cpp b/src/bench/rollingbloom.cpp index f3c0159347..541abe5a32 100644 --- a/src/bench/rollingbloom.cpp +++ b/src/bench/rollingbloom.cpp @@ -2,7 +2,6 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include #include #include diff --git a/src/bench/rpc_mempool.cpp b/src/bench/rpc_mempool.cpp index 671cb7f0ae..f862421f0d 100644 --- a/src/bench/rpc_mempool.cpp +++ b/src/bench/rpc_mempool.cpp @@ -9,8 +9,6 @@ #include -#include -#include static void AddTx(const CTransactionRef& tx, const CAmount& fee, CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main, pool.cs) { diff --git a/src/blockencodings.h b/src/blockencodings.h index 2f3a829796..748d51e068 100644 --- a/src/blockencodings.h +++ b/src/blockencodings.h @@ -7,7 +7,6 @@ #include -#include class CTxMemPool; diff --git a/src/compressor.cpp b/src/compressor.cpp index b003a86ce7..568b182f4c 100644 --- a/src/compressor.cpp +++ b/src/compressor.cpp @@ -5,7 +5,6 @@ #include -#include #include #include