add wallet reinitialization (--force)
This PR adds a new option to the /wallet/init
endpoint, force
, which when set to true
will reinitialize the wallet, even if it has already been encrypted. This is useful for users who wish to destroy their wallet and start over, without meddling with persist data.