aboutsummaryrefslogtreecommitdiff
path: root/src/init.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2013-10-19 18:42:14 +0200
committerPieter Wuille <[email protected]>2013-10-26 14:51:47 +0200
commit722fa283d04dfe9c70418e69535a08eea06b4377 (patch)
treec917f101a743cebd52c17ac777d47ed44c35c1fa /src/init.h
parentUse boost signals for callbacks from main to wallet (diff)
downloaddiscoin-722fa283d04dfe9c70418e69535a08eea06b4377.tar.xz
discoin-722fa283d04dfe9c70418e69535a08eea06b4377.zip
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 785a6cdba..8cb1bf52f 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;