MCPcopy Create free account
hub / github.com/LUX-Core/lux / LoadKeyMetadata

Method LoadKeyMetadata

src/wallet.cpp:370–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370void 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
378bool CWallet::LoadCryptedKey(const CPubKey& vchPubKey, const std::vector<unsigned char>& vchCryptedSecret)
379{

Callers 1

ReadKeyValueFunction · 0.80

Calls 1

GetIDMethod · 0.45

Tested by

no test coverage detected