| 357 | } |
| 358 | |
| 359 | bool LegacyDataSPKM::AddWatchOnlyInMem(const CScript &dest) |
| 360 | { |
| 361 | LOCK(cs_KeyStore); |
| 362 | setWatchOnly.insert(dest); |
| 363 | CPubKey pubKey; |
| 364 | if (ExtractPubKey(dest, pubKey)) { |
| 365 | mapWatchKeys[pubKey.GetID()] = pubKey; |
| 366 | ImplicitlyLearnRelatedKeyScripts(pubKey); |
| 367 | } |
| 368 | return true; |
| 369 | } |
| 370 | |
| 371 | void LegacyDataSPKM::LoadHDChain(const CHDChain& chain) |
| 372 | { |
nothing calls this directly
no test coverage detected