From 872158d248a274715728ebd506a02ede1e0ab0b9 Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kwvg@users.noreply.github.com> Date: Thu, 11 Nov 2021 14:40:50 -0500 Subject: [PATCH] Remove all #include // for * comments --- src/init.cpp | 4 ++-- src/node/caches.h | 4 ++-- src/node/chainstate.cpp | 26 +++++++++++++------------- src/node/chainstate.h | 10 +++++----- src/test/util/setup_common.cpp | 6 +++--- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index 23632d288d..98da55a3c7 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -38,8 +38,8 @@ #include #include #include -#include // for CalculateCacheSizes -#include // for LoadChainstate +#include +#include #include #include #include diff --git a/src/node/caches.h b/src/node/caches.h index 437e7d10e5..200f0b85b8 100644 --- a/src/node/caches.h +++ b/src/node/caches.h @@ -5,8 +5,8 @@ #ifndef BITCOIN_NODE_CACHES_H #define BITCOIN_NODE_CACHES_H -#include // for size_t -#include // for int64_t +#include +#include class ArgsManager; diff --git a/src/node/chainstate.cpp b/src/node/chainstate.cpp index f831d11eb5..9ddca485ec 100644 --- a/src/node/chainstate.cpp +++ b/src/node/chainstate.cpp @@ -4,20 +4,20 @@ #include -#include // for Consensus::Params -#include // for DeploymentActiveAfter -#include // for CleanupBlockRevFiles, fHavePruned, fReindex -#include // for a lot of things +#include +#include +#include +#include -#include // for CChainstateHelper -#include // for CCreditPoolManager -#include // for CDeterministicMNManager -#include // for CEvoDB -#include // for CMNHFManager -#include // for llmq::chainLocksHandler -#include // for LLMQContext -#include // for llmq::quorumInstantSendManager -#include // for llmq::quorumSnapshotManager +#include +#include +#include +#include +#include +#include +#include +#include +#include std::optional LoadChainstate(bool fReset, ChainstateManager& chainman, diff --git a/src/node/chainstate.h b/src/node/chainstate.h index e85c4a7a76..42a92afdf5 100644 --- a/src/node/chainstate.h +++ b/src/node/chainstate.h @@ -5,11 +5,11 @@ #ifndef BITCOIN_NODE_CHAINSTATE_H #define BITCOIN_NODE_CHAINSTATE_H -#include // for int64_t -#include // for std::function -#include // for std::unique_ptr -#include // for std::optional -#include // for std::string +#include +#include +#include +#include +#include class CActiveMasternodeManager; class CChainstateHelper; diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp index 21d0e5c724..edf088a039 100644 --- a/src/test/util/setup_common.cpp +++ b/src/test/util/setup_common.cpp @@ -30,8 +30,8 @@ #include #include #include -#include // for fReindex, fPruneMode -#include // for LoadChainstate +#include +#include #include #include #include @@ -40,7 +40,7 @@ #include #include #include