| 368 | } |
| 369 | |
| 370 | void CWallet::LoadKeyMetadata(const CPubKey& pubkey, const CKeyMetadata& meta) |
| 371 | { |
| 372 | AssertLockHeld(cs_wallet); // mapKeyMetadata |
| 373 | if (meta.nCreateTime && (!nTimeFirstKey || meta.nCreateTime < nTimeFirstKey)) |
| 374 | nTimeFirstKey = meta.nCreateTime; |
| 375 | mapKeyMetadata[pubkey.GetID()] = meta; |
| 376 | } |
| 377 | |
| 378 | bool CWallet::LoadCryptedKey(const CPubKey& vchPubKey, const std::vector<unsigned char>& vchCryptedSecret) |
| 379 | { |