PIVX Core  5.6.99
P2P Digital Currency
init.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2017 The Bitcoin Core developers
3 // Copyright (c) 2021 The PIVX Core developers
4 // Distributed under the MIT software license, see the accompanying
5 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
6 
7 #ifndef PIVX_WALLET_INIT_H
8 #define PIVX_WALLET_INIT_H
9 
10 #include <string>
11 
13 std::string GetWalletHelpString(bool showDebug);
14 
17 
19 // This function will perform salvage on the wallet if requested, as long as only one wallet is
20 // being loaded (CWallet::ParameterInteraction forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet).
21 bool WalletVerify();
22 
24 bool InitLoadWallet();
25 
26 #endif // PIVX_WALLET_INIT_H
bool WalletVerify()
Responsible for reading and validating the -wallet arguments and verifying the wallet database.
Definition: init.cpp:143
std::string GetWalletHelpString(bool showDebug)
Return the wallets help message.
Definition: init.cpp:17
bool InitLoadWallet()
Load wallet databases.
Definition: init.cpp:208
bool WalletParameterInteraction()
Wallets parameter interaction.
Definition: init.cpp:53