Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/scriptpubkeyman.cpp
Show First 20 Lines • Show All 1,590 Lines • ▼ Show 20 Lines | bool DescriptorScriptPubKeyMan::Encrypt(const CKeyingMaterial &master_key, | ||||
return false; | return false; | ||||
} | } | ||||
bool DescriptorScriptPubKeyMan::GetReservedDestination(const OutputType type, | bool DescriptorScriptPubKeyMan::GetReservedDestination(const OutputType type, | ||||
bool internal, | bool internal, | ||||
CTxDestination &address, | CTxDestination &address, | ||||
int64_t &index, | int64_t &index, | ||||
CKeyPool &keypool) { | CKeyPool &keypool) { | ||||
return false; | LOCK(cs_desc_man); | ||||
std::string error; | |||||
bool result = GetNewDestination(type, address, error); | |||||
index = m_wallet_descriptor.next_index - 1; | |||||
return result; | |||||
} | } | ||||
void DescriptorScriptPubKeyMan::ReturnDestination(int64_t index, bool internal, | void DescriptorScriptPubKeyMan::ReturnDestination(int64_t index, bool internal, | ||||
const CTxDestination &addr) {} | const CTxDestination &addr) {} | ||||
std::map<CKeyID, CKey> DescriptorScriptPubKeyMan::GetKeys() const { | std::map<CKeyID, CKey> DescriptorScriptPubKeyMan::GetKeys() const { | ||||
AssertLockHeld(cs_desc_man); | AssertLockHeld(cs_desc_man); | ||||
if (m_storage.HasEncryptionKeys() && !m_storage.IsLocked()) { | if (m_storage.HasEncryptionKeys() && !m_storage.IsLocked()) { | ||||
▲ Show 20 Lines • Show All 359 Lines • Show Last 20 Lines |