Change the wallet's encryption passphrase.

Synopsis

Declared in <wallet/wallet.h>

bool
ChangeWalletPassphrase(
    SecureString const& strOldWalletPassphrase,
    SecureString const& strNewWalletPassphrase);

Return Value

true if the passphrase was changed.

Parameters

Name

Description

strOldWalletPassphrase

The current passphrase.

strNewWalletPassphrase

The new passphrase to set.

Created with MrDocs