diff options
| author | Pieter Wuille <[email protected]> | 2013-10-19 18:42:14 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-10-26 14:51:47 +0200 |
| commit | 722fa283d04dfe9c70418e69535a08eea06b4377 (patch) | |
| tree | c917f101a743cebd52c17ac777d47ed44c35c1fa /src/init.h | |
| parent | Use boost signals for callbacks from main to wallet (diff) | |
| download | discoin-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.h | 5 |
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; |