Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,034 Lines • ▼ Show 20 Lines | public: | ||||
//! Check if a given transaction has any of its outputs spent by another | //! Check if a given transaction has any of its outputs spent by another | ||||
//! transaction in the wallet | //! transaction in the wallet | ||||
bool HasWalletSpend(const uint256 &txid) const; | bool HasWalletSpend(const uint256 &txid) const; | ||||
//! Flush wallet (bitdb flush) | //! Flush wallet (bitdb flush) | ||||
void Flush(bool shutdown = false); | void Flush(bool shutdown = false); | ||||
//! Verify the wallet database and perform salvage if required | //! Responsible for reading and validating the -wallet arguments and | ||||
//! verifying the wallet database. | |||||
// This function will perform salvage on the wallet if requested, as long as | |||||
// only one wallet is being loaded (CWallet::ParameterInteraction forbids | |||||
// -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet). | |||||
static bool Verify(); | static bool Verify(); | ||||
/** | /** | ||||
* Address book entry changed. | * Address book entry changed. | ||||
* @note called with lock cs_wallet held. | * @note called with lock cs_wallet held. | ||||
*/ | */ | ||||
boost::signals2::signal<void(CWallet *wallet, const CTxDestination &address, | boost::signals2::signal<void(CWallet *wallet, const CTxDestination &address, | ||||
const std::string &label, bool isMine, | const std::string &label, bool isMine, | ||||
▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines |