Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/wallet.cpp
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | public: | ||||
}; | }; | ||||
bool getNewDestination(const OutputType type, const std::string label, | bool getNewDestination(const OutputType type, const std::string label, | ||||
CTxDestination &dest) override { | CTxDestination &dest) override { | ||||
LOCK(m_wallet->cs_wallet); | LOCK(m_wallet->cs_wallet); | ||||
std::string error; | std::string error; | ||||
return m_wallet->GetNewDestination(type, label, dest, error); | return m_wallet->GetNewDestination(type, label, dest, error); | ||||
} | } | ||||
const CChainParams &getChainParams() override { | const CChainParams &getChainParams() override { | ||||
return m_wallet->chainParams; | return m_wallet->chainParams(); | ||||
} | } | ||||
bool getPubKey(const CScript &script, const CKeyID &address, | bool getPubKey(const CScript &script, const CKeyID &address, | ||||
CPubKey &pub_key) override { | CPubKey &pub_key) override { | ||||
const SigningProvider *provider = | const SigningProvider *provider = | ||||
m_wallet->GetSigningProvider(script); | m_wallet->GetSigningProvider(script); | ||||
if (provider) { | if (provider) { | ||||
return provider->GetPubKey(address, pub_key); | return provider->GetPubKey(address, pub_key); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 396 Lines • Show Last 20 Lines |