| 837 | } |
| 838 | |
| 839 | bool LegacyScriptPubKeyMan::AddCryptedKeyInner(const CPubKey &vchPubKey, const std::vector<unsigned char> &vchCryptedSecret) |
| 840 | { |
| 841 | LOCK(cs_KeyStore); |
| 842 | assert(mapKeys.empty()); |
| 843 | |
| 844 | mapCryptedKeys[vchPubKey.GetID()] = make_pair(vchPubKey, vchCryptedSecret); |
| 845 | ImplicitlyLearnRelatedKeyScripts(vchPubKey); |
| 846 | return true; |
| 847 | } |
| 848 | |
| 849 | bool LegacyScriptPubKeyMan::AddCryptedKey(const CPubKey &vchPubKey, |
| 850 | const std::vector<unsigned char> &vchCryptedSecret) |