| 2271 | } |
| 2272 | |
| 2273 | bool DescriptorScriptPubKeyMan::AddKey(const CKeyID& key_id, const CKey& key) |
| 2274 | { |
| 2275 | LOCK(cs_desc_man); |
| 2276 | m_map_keys[key_id] = key; |
| 2277 | return true; |
| 2278 | } |
| 2279 | |
| 2280 | bool DescriptorScriptPubKeyMan::AddCryptedKey(const CKeyID& key_id, const CPubKey& pubkey, const std::vector<unsigned char>& crypted_key) |
| 2281 | { |
no outgoing calls