Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/wallet.cpp
Show First 20 Lines • Show All 187 Lines • ▼ Show 20 Lines | public: | ||||
continue; | continue; | ||||
} | } | ||||
result.emplace_back(item.first, m_wallet->IsMine(item.first), | result.emplace_back(item.first, m_wallet->IsMine(item.first), | ||||
item.second.GetLabel(), | item.second.GetLabel(), | ||||
item.second.purpose); | item.second.purpose); | ||||
} | } | ||||
return result; | return result; | ||||
} | } | ||||
void learnRelatedScripts(const CPubKey &key, OutputType type) override { | |||||
m_wallet->GetLegacyScriptPubKeyMan()->LearnRelatedScripts(key, | |||||
type); | |||||
} | |||||
bool addDestData(const CTxDestination &dest, const std::string &key, | bool addDestData(const CTxDestination &dest, const std::string &key, | ||||
const std::string &value) override { | const std::string &value) override { | ||||
LOCK(m_wallet->cs_wallet); | LOCK(m_wallet->cs_wallet); | ||||
WalletBatch batch{m_wallet->GetDatabase()}; | WalletBatch batch{m_wallet->GetDatabase()}; | ||||
return m_wallet->AddDestData(batch, dest, key, value); | return m_wallet->AddDestData(batch, dest, key, value); | ||||
} | } | ||||
bool eraseDestData(const CTxDestination &dest, | bool eraseDestData(const CTxDestination &dest, | ||||
const std::string &key) override { | const std::string &key) override { | ||||
▲ Show 20 Lines • Show All 329 Lines • Show Last 20 Lines |