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

Method encryptWallet

src/wallet/interfaces.cpp:131–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 explicit WalletImpl(WalletContext& context, const std::shared_ptr<CWallet>& wallet) : m_context(context), m_wallet(wallet) {}
130
131 bool encryptWallet(const SecureString& wallet_passphrase) override
132 {
133 return m_wallet->EncryptWallet(wallet_passphrase);
134 }
135 bool isCrypted() override { return m_wallet->IsCrypted(); }
136 bool lock() override { return m_wallet->Lock(); }
137 bool unlock(const SecureString& wallet_passphrase) override { return m_wallet->Unlock(wallet_passphrase); }

Callers

nothing calls this directly

Calls 1

EncryptWalletMethod · 0.80

Tested by

no test coverage detected