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

Method GetTaprootSpendData

src/script/signingprovider.cpp:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47bool HidingSigningProvider::GetTaprootSpendData(const XOnlyPubKey& output_key, TaprootSpendData& spenddata) const
48{
49 return m_provider->GetTaprootSpendData(output_key, spenddata);
50}
51
52bool FlatSigningProvider::GetCScript(const CScriptID& scriptid, CScript& script) const { return LookupHelper(scripts, scriptid, script); }
53bool FlatSigningProvider::GetPubKey(const CKeyID& keyid, CPubKey& pubkey) const { return LookupHelper(pubkeys, keyid, pubkey); }

Callers 3

InferScriptFunction · 0.45
GetKeyForDestinationFunction · 0.45
SignTaprootFunction · 0.45

Calls 1

LookupHelperFunction · 0.85

Tested by

no test coverage detected