MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / GetCScript

Method GetCScript

src/keystore.cpp:49–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49bool CBasicKeyStore::GetCScript(const CScriptID &hash, CScript& redeemScriptOut) const
50{
51 LOCK(cs_KeyStore);
52 ScriptMap::const_iterator mi = mapScripts.find(hash);
53 if (mi != mapScripts.end())
54 {
55 redeemScriptOut = (*mi).second;
56 return true;
57 }
58 return false;
59}
60
61bool CBasicKeyStore::AddWatchOnly(const CScript &dest)
62{

Callers 5

operator()Method · 0.80
BOOST_FOREACHFunction · 0.80
IsMineFunction · 0.80
operator()Method · 0.80
SignStepFunction · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected