diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2013-10-19 18:42:14 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2013-10-26 14:51:47 +0200 |
commit | 722fa283d04dfe9c70418e69535a08eea06b4377 (patch) | |
tree | c917f101a743cebd52c17ac777d47ed44c35c1fa /src/init.h | |
parent | 00588c3fac4822d42ffde46ca55c029a74c378ee (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.h | 5 |
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; |