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

Method changeWalletPassphrase

src/wallet/interfaces.cpp:139–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 bool unlock(const SecureString& wallet_passphrase) override { return m_wallet->Unlock(wallet_passphrase); }
138 bool isLocked() override { return m_wallet->IsLocked(); }
139 bool changeWalletPassphrase(const SecureString& old_wallet_passphrase,
140 const SecureString& new_wallet_passphrase) override
141 {
142 return m_wallet->ChangeWalletPassphrase(old_wallet_passphrase, new_wallet_passphrase);
143 }
144 void abortRescan() override { m_wallet->AbortRescan(); }
145 bool backupWallet(const std::string& filename) override { return m_wallet->BackupWallet(filename); }
146 std::string getWalletName() override { return m_wallet->GetName(); }

Callers 1

changePassphraseMethod · 0.80

Calls 1

Tested by

no test coverage detected