MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / getPubKey

Method getPubKey

src/wallet/interfaces.cpp:160–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 return m_wallet->GetNewDestination(type, label);
159 }
160 bool getPubKey(const CScript& script, const CKeyID& address, CPubKey& pub_key) override
161 {
162 std::unique_ptr<SigningProvider> provider = m_wallet->GetSolvingProvider(script);
163 if (provider) {
164 return provider->GetPubKey(address, pub_key);
165 }
166 return false;
167 }
168 SigningResult signMessage(const std::string& message, const PKHash& pkhash, std::string& str_sig) override
169 {
170 return m_wallet->SignMessage(message, pkhash, str_sig);

Callers 1

updateLabelsMethod · 0.80

Calls 2

GetSolvingProviderMethod · 0.45
GetPubKeyMethod · 0.45

Tested by

no test coverage detected