Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ setWalletEncrypted
Method
setWalletEncrypted
src/qt/walletmodel.cpp:367–370 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
365
}
366
367
bool WalletModel::setWalletEncrypted(const SecureString& passphrase)
368
{
369
return m_wallet->encryptWallet(passphrase);
370
}
371
372
bool WalletModel::setWalletLocked(bool locked, const SecureString &passPhrase)
373
{
Callers
1
accept
Method · 0.80
Calls
1
encryptWallet
Method · 0.45
Tested by
no test coverage detected