Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletdb.h
Show First 20 Lines • Show All 216 Lines • ▼ Show 20 Lines | public: | ||||
bool WriteDescriptorKey(const uint256 &desc_id, const CPubKey &pubkey, | bool WriteDescriptorKey(const uint256 &desc_id, const CPubKey &pubkey, | ||||
const CPrivKey &privkey); | const CPrivKey &privkey); | ||||
bool WriteCryptedDescriptorKey(const uint256 &desc_id, | bool WriteCryptedDescriptorKey(const uint256 &desc_id, | ||||
const CPubKey &pubkey, | const CPubKey &pubkey, | ||||
const std::vector<uint8_t> &secret); | const std::vector<uint8_t> &secret); | ||||
bool WriteDescriptor(const uint256 &desc_id, | bool WriteDescriptor(const uint256 &desc_id, | ||||
const WalletDescriptor &descriptor); | const WalletDescriptor &descriptor); | ||||
bool WriteDescriptorDerivedCache(const CExtPubKey &xpub, | |||||
const uint256 &desc_id, | |||||
uint32_t key_exp_index, | |||||
uint32_t der_index); | |||||
bool WriteDescriptorParentCache(const CExtPubKey &xpub, | |||||
const uint256 &desc_id, | |||||
uint32_t key_exp_index); | |||||
/// 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 WriteActiveScriptPubKeyMan(uint8_t type, const uint256 &id, | ||||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |