Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,350 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, | static bool Verify(const CChainParams &chainParams, | ||||
interfaces::Chain &chain, const WalletLocation &location, | interfaces::Chain &chain, const WalletLocation &location, | ||||
bool salvage_wallet, bilingual_str &error_string, | bilingual_str &error_string, | ||||
std::vector<bilingual_str> &warnings); | std::vector<bilingual_str> &warnings); | ||||
/** | /** | ||||
* 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 std::shared_ptr<CWallet> | static std::shared_ptr<CWallet> | ||||
CreateWalletFromFile(const CChainParams &chainParams, | CreateWalletFromFile(const CChainParams &chainParams, | ||||
▲ Show 20 Lines • Show All 233 Lines • Show Last 20 Lines |