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

Method GetPrivKey

src/script/descriptor.cpp:279–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277 return true;
278 }
279 bool GetPrivKey(int pos, const SigningProvider& arg, CKey& key) const override
280 {
281 return arg.GetKey(m_pubkey.GetID(), key);
282 }
283};
284
285enum class DeriveType {

Callers 5

AddKeyPubKeyWithDBMethod · 0.45
GetPrivKeyMethod · 0.45
ExpandPrivateMethod · 0.45
FUZZ_TARGET_INITFunction · 0.45

Calls 2

GetKeyMethod · 0.45
GetIDMethod · 0.45

Tested by 1

FUZZ_TARGET_INITFunction · 0.36