1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2017 The Bitcoin Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
6 #ifndef BITCOIN_WALLET_INIT_H
7 #define BITCOIN_WALLET_INIT_H
14 //! Return the wallets help message.
15 std::string
GetWalletHelpString(bool showDebug
);
17 //! Wallets parameter interaction
18 bool WalletParameterInteraction();
20 //! Register wallet RPCs.
21 void RegisterWalletRPC(CRPCTable
&tableRPC
);
23 //! Responsible for reading and validating the -wallet arguments and verifying the wallet database.
24 // This function will perform salvage on the wallet if requested, as long as only one wallet is
25 // being loaded (WalletParameterInteraction forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet).
28 //! Load wallet databases.
31 //! Complete startup of wallets.
32 void StartWallets(CScheduler
& scheduler
);
34 //! Flush all wallets in preparation for shutdown.
37 //! Stop all wallets. Wallets will be flushed first.
40 //! Close all wallets.
43 #endif // BITCOIN_WALLET_INIT_H