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:
Jorge Timón
2015-07-05 14:30:07 +02:00
parent 9dd793f499
commit 60c8bac77c
28 changed files with 26 additions and 42 deletions

View File

@@ -11,9 +11,13 @@
#include "coincontrol.h"
#include "consensus/consensus.h"
#include "consensus/validation.h"
#include "key.h"
#include "keystore.h"
#include "main.h"
#include "net.h"
#include "policy/policy.h"
#include "primitives/block.h"
#include "primitives/transaction.h"
#include "script/script.h"
#include "script/sign.h"
#include "timedata.h"

View File

@@ -7,10 +7,6 @@
#define BITCOIN_WALLET_WALLET_H
#include "amount.h"
#include "key.h"
#include "keystore.h"
#include "primitives/block.h"
#include "primitives/transaction.h"
#include "streams.h"
#include "tinyformat.h"
#include "ui_interface.h"

View File

@@ -6,7 +6,6 @@
#ifndef BITCOIN_WALLET_WALLET_ISMINE_H
#define BITCOIN_WALLET_WALLET_ISMINE_H
#include "key.h"
#include "script/standard.h"
#include <stdint.h>

View File

@@ -7,7 +7,7 @@
#include "base58.h"
#include "consensus/validation.h"
#include "main.h"
#include "main.h" // For CheckTransaction
#include "protocol.h"
#include "serialize.h"
#include "sync.h"

View File

@@ -9,7 +9,6 @@
#include "amount.h"
#include "wallet/db.h"
#include "key.h"
#include "keystore.h"
#include <list>
#include <stdint.h>