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

Method IsLocked

src/wallet/crypter.cpp:155–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155bool CCryptoKeyStore::IsLocked() const
156{
157 if (!IsCrypted()) {
158 return false;
159 }
160 LOCK(cs_KeyStore);
161 return vMasterKey.empty();
162}
163
164bool CCryptoKeyStore::Lock()
165{

Callers 4

EnsureWalletIsUnlockedFunction · 0.80
getnewaddressFunction · 0.80
getrawchangeaddressFunction · 0.80
isLockedMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected