Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletdb.h
Show First 20 Lines • Show All 189 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); | ||||
/// This writes directly to the database, and will not update the CWallet's | |||||
/// cached accounting entries! | |||||
/// Use wallet.AddAccountingEntry instead, to write *and* update its caches. | |||||
bool WriteAccountingEntry(const uint64_t nAccEntryNum, | |||||
const CAccountingEntry &acentry); | |||||
bool ReadAccount(const std::string &strAccount, CAccount &account); | bool ReadAccount(const std::string &strAccount, CAccount &account); | ||||
bool WriteAccount(const std::string &strAccount, const CAccount &account); | bool WriteAccount(const std::string &strAccount, const CAccount &account); | ||||
bool EraseAccount(const std::string &strAccount); | 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. | ||||
▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines |