aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/init.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-08-28 12:53:56 -0400
committerJohn Newbery <john@johnnewbery.com>2017-09-07 16:21:26 -0700
commit77fe07c1591395b4279f9f2ff3c36c6bde11fbb7 (patch)
tree340158d4f541bb9f4bbc7bbe1615ba1e1a2e66d2 /src/wallet/init.h
parent2da5eafa47cdf81107bd3e71a709d404ebb6dcdb (diff)
[wallet] Add StopWallets() function to wallet/init.cpp
Diffstat (limited to 'src/wallet/init.h')
-rw-r--r--src/wallet/init.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wallet/init.h b/src/wallet/init.h
index 5445c72d1c..c06b058474 100644
--- a/src/wallet/init.h
+++ b/src/wallet/init.h
@@ -23,6 +23,8 @@ bool VerifyWallets();
bool OpenWallets();
//! Flush all wallets in preparation for shutdown.
-//! Call with shutdown = true to actually shutdown the wallet.
-void FlushWallets(bool shutdown);
+void FlushWallets();
+
+//! Stop all wallets. Wallets will be flushed first.
+void StopWallets();
#endif // BITCOIN_WALLET_INIT_H