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

Method getEncryptionStatus

src/qt/walletmodel.cpp:324–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324WalletModel::EncryptionStatus WalletModel::getEncryptionStatus() const
325{
326 if(!m_wallet->isCrypted())
327 {
328 return Unencrypted;
329 }
330 else if(m_wallet->isLocked())
331 {
332 return Locked;
333 }
334 else
335 {
336 return Unlocked;
337 }
338}
339
340bool WalletModel::setWalletEncrypted(bool encrypted, const SecureString &passphrase)
341{

Callers 2

unlockWalletMethod · 0.80
updateWalletStatusMethod · 0.80

Calls 2

isCryptedMethod · 0.80
isLockedMethod · 0.80

Tested by

no test coverage detected