Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,192 Lines • ▼ Show 20 Lines | public: | ||||
/** | /** | ||||
* Mark a transaction (and it in-wallet descendants) as abandoned so its | * Mark a transaction (and it in-wallet descendants) as abandoned so its | ||||
* inputs may be respent. | * inputs may be respent. | ||||
*/ | */ | ||||
bool AbandonTransaction(const TxId &txid); | bool AbandonTransaction(const TxId &txid); | ||||
//! Verify wallet naming and perform salvage on the wallet if required | //! Verify wallet naming and perform salvage on the wallet if required | ||||
static bool Verify(const CChainParams &chainParams, std::string wallet_file, | static bool Verify(const CChainParams &chainParams, std::string wallet_file, | ||||
bool salvage_wallet); | bool salvage_wallet, std::string &error_string, | ||||
std::string &warning_string); | |||||
/** | /** | ||||
* Initializes the wallet, returns a new CWallet instance or a null pointer | * Initializes the wallet, returns a new CWallet instance or a null pointer | ||||
* in case of an error. | * in case of an error. | ||||
*/ | */ | ||||
static CWallet *CreateWalletFromFile(const CChainParams &chainParams, | static CWallet *CreateWalletFromFile(const CChainParams &chainParams, | ||||
const std::string &name, | const std::string &name, | ||||
const fs::path &path); | const fs::path &path); | ||||
▲ Show 20 Lines • Show All 170 Lines • Show Last 20 Lines |