Skip to content

Commit 3b1584b

Browse files
committed
Remove all #include // for * comments
1 parent 9a5a5a3 commit 3b1584b

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

src/init.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
#include <net_processing.h>
3535
#include <netbase.h>
3636
#include <node/blockstorage.h>
37-
#include <node/caches.h> // for CalculateCacheSizes
38-
#include <node/chainstate.h> // for LoadChainstate
37+
#include <node/caches.h>
38+
#include <node/chainstate.h>
3939
#include <node/context.h>
4040
#include <node/miner.h>
4141
#include <node/ui_interface.h>

src/node/caches.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#ifndef BITCOIN_NODE_CACHES_H
66
#define BITCOIN_NODE_CACHES_H
77

8-
#include <cstddef> // for size_t
9-
#include <cstdint> // for int64_t
8+
#include <cstddef>
9+
#include <cstdint>
1010

1111
class ArgsManager;
1212

src/node/chainstate.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
#include <node/chainstate.h>
66

7-
#include <consensus/params.h> // for Consensus::Params
8-
#include <node/blockstorage.h> // for CleanupBlockRevFiles, fHavePruned, fReindex
9-
#include <validation.h> // for a lot of things
7+
#include <consensus/params.h>
8+
#include <node/blockstorage.h>
9+
#include <validation.h>
1010

1111
std::optional<ChainstateLoadingError> LoadChainstate(bool fReset,
1212
ChainstateManager& chainman,

src/node/chainstate.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#ifndef BITCOIN_NODE_CHAINSTATE_H
66
#define BITCOIN_NODE_CHAINSTATE_H
77

8-
#include <cstdint> // for int64_t
9-
#include <functional> // for std::function
10-
#include <optional> // for std::optional
8+
#include <cstdint>
9+
#include <functional>
10+
#include <optional>
1111

1212
class ChainstateManager;
1313
namespace Consensus {

src/test/util/setup_common.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
#include <net_processing.h>
1818
#include <node/miner.h>
1919
#include <noui.h>
20-
#include <node/blockstorage.h> // for fReindex, fPruneMode
21-
#include <node/chainstate.h> // for LoadChainstate
20+
#include <node/blockstorage.h>
21+
#include <node/chainstate.h>
2222
#include <policy/fees.h>
2323
#include <pow.h>
2424
#include <rpc/blockchain.h>
2525
#include <rpc/register.h>
2626
#include <rpc/server.h>
2727
#include <scheduler.h>
2828
#include <script/sigcache.h>
29-
#include <shutdown.h> // for ShutdownRequested
29+
#include <shutdown.h>
3030
#include <streams.h>
3131
#include <txdb.h>
3232
#include <util/strencodings.h>

0 commit comments

Comments
 (0)