aboutsummaryrefslogtreecommitdiff
path: root/src/init.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2013-10-19 18:42:14 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2013-10-26 14:51:47 +0200
commit722fa283d04dfe9c70418e69535a08eea06b4377 (patch)
treec917f101a743cebd52c17ac777d47ed44c35c1fa /src/init.h
parent00588c3fac4822d42ffde46ca55c029a74c378ee (diff)
Break dependency of init on wallet.
This required some code movement (what was CWalletTx::AcceptToMemoryPool doing in main?), and adding a few explicit includes that used to be implicit through init.h.
Diffstat (limited to 'src/init.h')
-rw-r--r--src/init.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/init.h b/src/init.h
index 785a6cdba1..8cb1bf52fc 100644
--- a/src/init.h
+++ b/src/init.h
@@ -5,7 +5,10 @@
#ifndef BITCOIN_INIT_H
#define BITCOIN_INIT_H
-#include "wallet.h"
+#include <string>
+#include <boost/thread.hpp>
+
+class CWallet;
extern std::string strWalletFile;
extern CWallet* pwalletMain;