aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-11-02 21:37:28 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-11-02 21:37:43 +0100
commit6a1343f73bd0f6744cfcfda1e3e1c8998f67e2d7 (patch)
tree7cff5fd559ebebf2f2952a70b326b78014f4e72d /src/wallet/wallet.h
parentc05db8348838422ec6bbfeef30faee36562af13d (diff)
parentcab1da745b2a36407bb9493343cc74213854419d (diff)
downloadbitcoin-6a1343f73bd0f6744cfcfda1e3e1c8998f67e2d7.tar.xz
Merge #8977: [Wallet] Refactor wallet/init interaction (Reaccept wtx, flush thread)
cab1da7 [Wallet] Refactor wallet/init interaction (Reaccept wtx, flush thread) (Jonas Schnelli)
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index c33a6ca91f..d7d1f5513a 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -27,6 +27,7 @@
#include <vector>
#include <boost/shared_ptr.hpp>
+#include <boost/thread.hpp>
extern CWallet* pwalletMain;
@@ -912,6 +913,12 @@ public:
/* Initializes the wallet, returns a new CWallet instance or a null pointer in case of an error */
static bool InitLoadWallet();
+ /**
+ * Wallet post-init setup
+ * Gives the wallet a chance to register repetitive tasks and complete post-init tasks
+ */
+ void postInitProcess(boost::thread_group& threadGroup);
+
/* Wallets parameter interaction */
static bool ParameterInteraction();