Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletdb.h
Show First 20 Lines • Show All 188 Lines • ▼ Show 20 Lines | public: | ||||
bool WriteOrderPosNext(int64_t nOrderPosNext); | bool WriteOrderPosNext(int64_t nOrderPosNext); | ||||
bool ReadPool(int64_t nPool, CKeyPool &keypool); | bool ReadPool(int64_t nPool, CKeyPool &keypool); | ||||
bool WritePool(int64_t nPool, const CKeyPool &keypool); | bool WritePool(int64_t nPool, const CKeyPool &keypool); | ||||
bool ErasePool(int64_t nPool); | bool ErasePool(int64_t nPool); | ||||
bool WriteMinVersion(int nVersion); | bool WriteMinVersion(int nVersion); | ||||
bool ReadAccount(const std::string &strAccount, CAccount &account); | |||||
bool WriteAccount(const std::string &strAccount, const CAccount &account); | |||||
bool EraseAccount(const std::string &strAccount); | |||||
/// 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); | ||||
DBErrors LoadWallet(CWallet *pwallet); | DBErrors LoadWallet(CWallet *pwallet); | ||||
DBErrors FindWalletTx(std::vector<TxId> &txIds, | DBErrors FindWalletTx(std::vector<TxId> &txIds, | ||||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |