Skip to content

Commit

Permalink
Remove all #include // for * comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Dec 16, 2024
1 parent 09ab629 commit 872158d
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
#include <netbase.h>
#include <netgroup.h>
#include <node/blockstorage.h>
#include <node/caches.h> // for CalculateCacheSizes
#include <node/chainstate.h> // for LoadChainstate
#include <node/caches.h>
#include <node/chainstate.h>
#include <node/context.h>
#include <node/ui_interface.h>
#include <node/txreconciliation.h>
Expand Down
4 changes: 2 additions & 2 deletions src/node/caches.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#ifndef BITCOIN_NODE_CACHES_H
#define BITCOIN_NODE_CACHES_H

#include <cstddef> // for size_t
#include <cstdint> // for int64_t
#include <cstddef>
#include <cstdint>

class ArgsManager;

Expand Down
28 changes: 14 additions & 14 deletions src/node/chainstate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@

#include <node/chainstate.h>

#include <consensus/params.h> // for Consensus::Params
#include <deploymentstatus.h> // for DeploymentActiveAfter
#include <node/blockstorage.h> // for CleanupBlockRevFiles, fHavePruned, fReindex
#include <validation.h> // for a lot of things

#include <evo/chainhelper.h> // for CChainstateHelper
#include <evo/creditpool.h> // for CCreditPoolManager
#include <evo/deterministicmns.h> // for CDeterministicMNManager
#include <evo/evodb.h> // for CEvoDB
#include <evo/mnhftx.h> // for CMNHFManager
#include <llmq/chainlocks.h> // for llmq::chainLocksHandler
#include <llmq/context.h> // for LLMQContext
#include <llmq/instantsend.h> // for llmq::quorumInstantSendManager
#include <llmq/snapshot.h> // for llmq::quorumSnapshotManager
#include <consensus/params.h>
#include <deploymentstatus.h>
#include <node/blockstorage.h>
#include <validation.h>

#include <evo/chainhelper.h>
#include <evo/creditpool.h>
#include <evo/deterministicmns.h>
#include <evo/evodb.h>
#include <evo/mnhftx.h>
#include <llmq/chainlocks.h>
#include <llmq/context.h>
#include <llmq/instantsend.h>
#include <llmq/snapshot.h>

std::optional<ChainstateLoadingError> LoadChainstate(bool fReset,
ChainstateManager& chainman,
Expand Down
10 changes: 5 additions & 5 deletions src/node/chainstate.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
#ifndef BITCOIN_NODE_CHAINSTATE_H
#define BITCOIN_NODE_CHAINSTATE_H

#include <cstdint> // for int64_t
#include <functional> // for std::function
#include <memory> // for std::unique_ptr
#include <optional> // for std::optional
#include <string> // for std::string
#include <cstdint>
#include <functional>
#include <memory>
#include <optional>
#include <string>

class CActiveMasternodeManager;
class CChainstateHelper;
Expand Down
6 changes: 3 additions & 3 deletions src/test/util/setup_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
#include <net.h>
#include <net_processing.h>
#include <noui.h>
#include <node/blockstorage.h> // for fReindex, fPruneMode
#include <node/chainstate.h> // for LoadChainstate
#include <node/blockstorage.h>
#include <node/chainstate.h>
#include <node/miner.h>
#include <policy/fees.h>
#include <pow.h>
Expand All @@ -40,7 +40,7 @@
#include <rpc/server.h>
#include <scheduler.h>
#include <script/sigcache.h>
#include <shutdown.h> // for ShutdownRequested
#include <shutdown.h>
#include <spork.h>
#include <stats/client.h>
#include <streams.h>
Expand Down

0 comments on commit 872158d

Please sign in to comment.