MCPcopy Create free account
hub / github.com/ElementsProject/elements / IsLocked

Method IsLocked

src/wallet/wallet.cpp:3358–3365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3356}
3357
3358bool CWallet::IsLocked() const
3359{
3360 if (!IsCrypted()) {
3361 return false;
3362 }
3363 LOCK(cs_wallet);
3364 return vMasterKey.empty();
3365}
3366
3367bool CWallet::Lock()
3368{

Callers 15

UpgradeKeyMetadataMethod · 0.80
SetupGenerationMethod · 0.80
AddKeyPubKeyInnerMethod · 0.80
TopUpChainMethod · 0.80
GetKeyFromPoolMethod · 0.80
GetKeysMethod · 0.80
isLockedMethod · 0.80
getpeginaddressFunction · 0.80
initpegoutwalletFunction · 0.80
createrawpeginFunction · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected