MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / Lock

Method Lock

src/wallet/crypter.cpp:164–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164bool CCryptoKeyStore::Lock()
165{
166 if (!SetCrypted())
167 return false;
168
169 {
170 LOCK(cs_KeyStore);
171 vMasterKey.clear();
172 }
173
174 NotifyStatusChanged(this);
175 return true;
176}
177
178bool CCryptoKeyStore::Unlock(const CKeyingMaterial& vMasterKeyIn)
179{

Callers 3

walletpassphraseFunction · 0.45
walletlockFunction · 0.45
lockMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected