Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/wallet.cpp
Show First 20 Lines • Show All 220 Lines • ▼ Show 20 Lines | public: | ||||
} | } | ||||
bool eraseDestData(const CTxDestination &dest, | bool eraseDestData(const CTxDestination &dest, | ||||
const std::string &key) override { | const std::string &key) override { | ||||
LOCK(m_wallet.cs_wallet); | LOCK(m_wallet.cs_wallet); | ||||
return m_wallet.EraseDestData(dest, key); | return m_wallet.EraseDestData(dest, key); | ||||
} | } | ||||
std::vector<std::string> | std::vector<std::string> | ||||
getDestValues(const std::string &prefix) override { | getDestValues(const std::string &prefix) override { | ||||
LOCK(m_wallet.cs_wallet); | |||||
return m_wallet.GetDestValues(prefix); | return m_wallet.GetDestValues(prefix); | ||||
} | } | ||||
void lockCoin(const COutPoint &output) override { | void lockCoin(const COutPoint &output) override { | ||||
auto locked_chain = m_wallet.chain().lock(); | auto locked_chain = m_wallet.chain().lock(); | ||||
LOCK(m_wallet.cs_wallet); | LOCK(m_wallet.cs_wallet); | ||||
return m_wallet.LockCoin(output); | return m_wallet.LockCoin(output); | ||||
} | } | ||||
void unlockCoin(const COutPoint &output) override { | void unlockCoin(const COutPoint &output) override { | ||||
▲ Show 20 Lines • Show All 302 Lines • Show Last 20 Lines |