MCPcopy Create free account
hub / github.com/ElementsProject/elements / getNewDestination

Method getNewDestination

src/wallet/interfaces.cpp:147–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 bool backupWallet(const std::string& filename) override { return m_wallet->BackupWallet(filename); }
146 std::string getWalletName() override { return m_wallet->GetName(); }
147 bool getNewDestination(const OutputType type, const std::string label, CTxDestination& dest, bool add_blinding_key = false) override
148 {
149 LOCK(m_wallet->cs_wallet);
150 bilingual_str error;
151 return m_wallet->GetNewDestination(type, label, dest, error, add_blinding_key);
152 }
153 bool getPubKey(const CScript& script, const CKeyID& address, CPubKey& pub_key) override
154 {
155 std::unique_ptr<SigningProvider> provider = m_wallet->GetSolvingProvider(script);

Callers 1

addRowMethod · 0.80

Calls 1

GetNewDestinationMethod · 0.45

Tested by

no test coverage detected