From 2da5eafa47cdf81107bd3e71a709d404ebb6dcdb Mon Sep 17 00:00:00 2001 From: John Newbery Date: Mon, 28 Aug 2017 12:31:53 -0400 Subject: [wallet] Add FlushWallets() function to wallet/init.cpp --- src/wallet/init.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/wallet/init.h') 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 -- cgit v1.2.3