MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / GetPubKey

Method GetPubKey

src/script/descriptor.cpp:66–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64public:
65 ConstPubkeyProvider(const CPubKey& pubkey) : m_pubkey(pubkey) {}
66 bool GetPubKey(int pos, const SigningProvider& arg, CPubKey& out) const override
67 {
68 out = m_pubkey;
69 return true;
70 }
71 bool IsRange() const override { return false; }
72 size_t GetSize() const override { return m_pubkey.size(); }
73 std::string ToString() const override { return HexStr(m_pubkey.begin(), m_pubkey.end()); }

Callers 4

ExpandMethod · 0.45
ExpandMethod · 0.45
ExpandMethod · 0.45
ParsePubkeyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected