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

Method encryptWallet

src/qt/walletview.cpp:206–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206void WalletView::encryptWallet()
207{
208 auto dlg = new AskPassphraseDialog(AskPassphraseDialog::Encrypt, this);
209 dlg->setModel(walletModel);
210 connect(dlg, &QDialog::finished, this, &WalletView::encryptionStatusChanged);
211 GUIUtil::ShowModalDialogAsynchronously(dlg);
212}
213
214void WalletView::backupWallet()
215{

Callers 1

setWalletEncryptedMethod · 0.45

Calls 2

setModelMethod · 0.45

Tested by

no test coverage detected