setwalletpassword

NAME
----
setwalletpassword - set Haveno wallet password

SYNOPSIS
--------
setwalletpassword
        --wallet-password=<wallet-password>
        --new-wallet-password=<new-wallet-password>

DESCRIPTION
-----------
Encrypts a Haveno wallet with a password.  If the optional new wallet password option is
present, a new wallet password replaces the existing password

EXAMPLES
--------
Encrypt an unencrypted Haveno wallet with a password:
$ ./haveno-cli --password=xyz --port=9998 setwalletpassword --wallet-password=mypassword

Set a new password on a Haveno wallet that is already encrypted:
$ ./haveno-cli --password=xyz --port=9998 setwalletpassword --wallet-password=myoldpassword \
    --new-wallet-password=mynewpassword
