Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletdb.h
Show First 20 Lines • Show All 214 Lines • ▼ Show 20 Lines | public: | ||||
bool WriteMinVersion(int nVersion); | bool WriteMinVersion(int nVersion); | ||||
/// Write destination data key,value tuple to database. | /// Write destination data key,value tuple to database. | ||||
bool WriteDestData(const CTxDestination &address, const std::string &key, | bool WriteDestData(const CTxDestination &address, const std::string &key, | ||||
const std::string &value); | const std::string &value); | ||||
/// Erase destination data tuple from wallet database. | /// Erase destination data tuple from wallet database. | ||||
bool EraseDestData(const CTxDestination &address, const std::string &key); | bool EraseDestData(const CTxDestination &address, const std::string &key); | ||||
bool WriteActiveScriptPubKeyMan(uint8_t type, const uint256 &id, | |||||
bool internal); | |||||
DBErrors LoadWallet(CWallet *pwallet); | DBErrors LoadWallet(CWallet *pwallet); | ||||
DBErrors FindWalletTx(std::vector<TxId> &txIds, | DBErrors FindWalletTx(std::vector<TxId> &txIds, | ||||
std::vector<CWalletTx> &vWtx); | std::vector<CWalletTx> &vWtx); | ||||
DBErrors ZapWalletTx(std::vector<CWalletTx> &vWtx); | DBErrors ZapWalletTx(std::vector<CWalletTx> &vWtx); | ||||
DBErrors ZapSelectTx(std::vector<TxId> &txIdsIn, | DBErrors ZapSelectTx(std::vector<TxId> &txIdsIn, | ||||
std::vector<TxId> &txIdsOut); | std::vector<TxId> &txIdsOut); | ||||
/* Try to (very carefully!) recover wallet database (with a possible key | /* Try to (very carefully!) recover wallet database (with a possible key | ||||
* type filter) */ | * type filter) */ | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |