Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletdb.h
Show First 20 Lines • Show All 161 Lines • ▼ Show 20 Lines | public: | ||||
/// Erase destination data tuple from wallet database. | /// Erase destination data tuple from wallet database. | ||||
bool EraseDestData(const std::string &address, const std::string &key); | bool EraseDestData(const std::string &address, const std::string &key); | ||||
CAmount GetAccountCreditDebit(const std::string &strAccount); | CAmount GetAccountCreditDebit(const std::string &strAccount); | ||||
void ListAccountCreditDebit(const std::string &strAccount, | void ListAccountCreditDebit(const std::string &strAccount, | ||||
std::list<CAccountingEntry> &acentries); | std::list<CAccountingEntry> &acentries); | ||||
DBErrors LoadWallet(CWallet *pwallet); | DBErrors LoadWallet(CWallet *pwallet); | ||||
DBErrors FindWalletTx(CWallet *pwallet, std::vector<uint256> &vTxHash, | DBErrors FindWalletTx(CWallet *pwallet, std::vector<txhash_t> &vTxHash, | ||||
std::vector<CWalletTx> &vWtx); | std::vector<CWalletTx> &vWtx); | ||||
DBErrors ZapWalletTx(CWallet *pwallet, std::vector<CWalletTx> &vWtx); | DBErrors ZapWalletTx(CWallet *pwallet, std::vector<CWalletTx> &vWtx); | ||||
DBErrors ZapSelectTx(CWallet *pwallet, std::vector<uint256> &vHashIn, | DBErrors ZapSelectTx(CWallet *pwallet, std::vector<txhash_t> &vHashIn, | ||||
std::vector<uint256> &vHashOut); | std::vector<txhash_t> &vHashOut); | ||||
static bool Recover(CDBEnv &dbenv, const std::string &filename, | static bool Recover(CDBEnv &dbenv, const std::string &filename, | ||||
bool fOnlyKeys); | bool fOnlyKeys); | ||||
static bool Recover(CDBEnv &dbenv, const std::string &filename); | static bool Recover(CDBEnv &dbenv, const std::string &filename); | ||||
//! write the hdchain model (external chain child index counter) | //! write the hdchain model (external chain child index counter) | ||||
bool WriteHDChain(const CHDChain &chain); | bool WriteHDChain(const CHDChain &chain); | ||||
static void IncrementUpdateCounter(); | static void IncrementUpdateCounter(); | ||||
Show All 10 Lines |