MCPcopy Create free account
hub / github.com/LUX-Core/lux / GetCScript

Method GetCScript

src/keystore.cpp:112–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112bool CBasicKeyStore::GetCScript(const CScriptID& hash, CScript& redeemScriptOut) const
113{
114 LOCK(cs_KeyStore);
115 ScriptMap::const_iterator mi = mapScripts.find(hash);
116 if (mi != mapScripts.end()) {
117 redeemScriptOut = (*mi).second;
118 return true;
119 }
120 return false;
121}
122
123static bool ExtractPubKey(const CScript &dest, CPubKey& pubKeyOut)
124{

Callers 6

IsMineFunction · 0.80
GetKeyForDestinationFunction · 0.80
operator()Method · 0.80
operator()Method · 0.80
listunspentFunction · 0.80
SignStepFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected