diff options
author | John Newbery <john@johnnewbery.com> | 2017-08-28 12:31:53 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-09-07 16:21:26 -0700 |
commit | 2da5eafa47cdf81107bd3e71a709d404ebb6dcdb (patch) | |
tree | 5ebc2890b25d7697dec4c0b3a36764363b3a087d /src/wallet/init.h | |
parent | 1b9cee66e1c50cb6f110793ec5dc4c6a291cce36 (diff) |
[wallet] Add FlushWallets() function to wallet/init.cpp
Diffstat (limited to 'src/wallet/init.h')
-rw-r--r-- | src/wallet/init.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/init.h b/src/wallet/init.h index a66b359439..5445c72d1c 100644 --- a/src/wallet/init.h +++ b/src/wallet/init.h @@ -22,4 +22,7 @@ bool VerifyWallets(); //! Load wallet databases. bool OpenWallets(); +//! Flush all wallets in preparation for shutdown. +//! Call with shutdown = true to actually shutdown the wallet. +void FlushWallets(bool shutdown); #endif // BITCOIN_WALLET_INIT_H |