| 47 | } |
| 48 | |
| 49 | bool 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 | |
| 61 | bool CBasicKeyStore::AddWatchOnly(const CScript &dest) |
| 62 | { |
no test coverage detected