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

Method Lock

src/crypter.cpp:208–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208bool CCryptoKeyStore::Lock()
209{
210 if (!SetCrypted())
211 return false;
212
213 {
214 LOCK(cs_KeyStore);
215 vMasterKey.clear();
216 }
217
218 NotifyStatusChanged(this);
219 return true;
220}
221
222bool CCryptoKeyStore::Unlock(const CKeyingMaterial& vMasterKeyIn)
223{

Callers 5

LockWalletFunction · 0.45
walletlockFunction · 0.45
LockRangeMethod · 0.45
CheckMethod · 0.45
masternodeFunction · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected