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

Method encryptWallet

src/interfaces/wallet.cpp:122–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 WalletImpl(const std::shared_ptr<CWallet>& wallet) : m_shared_wallet(wallet), m_wallet(*wallet.get()) {}
121
122 bool encryptWallet(const SecureString& wallet_passphrase) override
123 {
124 return m_wallet.EncryptWallet(wallet_passphrase);
125 }
126 bool isCrypted() override { return m_wallet.IsCrypted(); }
127 bool lock() override { return m_wallet.Lock(); }
128 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