Includes: Cleanup around net main and wallet
-Move from .h to .cpp: in main, net and wallet -Remove unnecessary #include "main.h" -Cleanup some wallet files includes
This commit is contained in:
@@ -2,17 +2,14 @@
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
//
|
||||
// Unit tests for alert system
|
||||
//
|
||||
|
||||
#include "alert.h"
|
||||
#include "chain.h"
|
||||
#include "chainparams.h"
|
||||
#include "clientversion.h"
|
||||
#include "data/alertTests.raw.h"
|
||||
|
||||
#include "main.h"
|
||||
#include "main.h" // For PartitionCheck
|
||||
#include "serialize.h"
|
||||
#include "streams.h"
|
||||
#include "util.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "clientversion.h"
|
||||
#include "consensus/validation.h"
|
||||
#include "main.h"
|
||||
#include "main.h" // For CheckBlock
|
||||
#include "primitives/block.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
#include "utiltime.h"
|
||||
|
||||
@@ -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 "main.h"
|
||||
#include "txmempool.h"
|
||||
#include "util.h"
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
#include "chain.h"
|
||||
#include "chainparams.h"
|
||||
#include "main.h"
|
||||
#include "pow.h"
|
||||
#include "random.h"
|
||||
#include "util.h"
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include "core_io.h"
|
||||
#include "key.h"
|
||||
#include "keystore.h"
|
||||
#include "main.h"
|
||||
#include "script/script.h"
|
||||
#include "script/script_error.h"
|
||||
#include "script/sign.h"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "consensus/validation.h"
|
||||
#include "data/sighash.json.h"
|
||||
#include "hash.h"
|
||||
#include "main.h"
|
||||
#include "main.h" // For CheckTransaction
|
||||
#include "random.h"
|
||||
#include "script/interpreter.h"
|
||||
#include "script/script.h"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include "chain.h"
|
||||
#include "main.h"
|
||||
#include "random.h"
|
||||
#include "util.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "core_io.h"
|
||||
#include "key.h"
|
||||
#include "keystore.h"
|
||||
#include "main.h"
|
||||
#include "main.h" // For CheckTransaction
|
||||
#include "policy/policy.h"
|
||||
#include "script/script.h"
|
||||
#include "script/script_error.h"
|
||||
|
||||
Reference in New Issue
Block a user