Upgradewallet

upgradewallet ( version )


Upgrade the wallet. Upgrades to the latest version if no version number is specified
New keys may be generated and a new wallet backup will need to be made.
Arguments:
1. version    (numeric, optional, default=200300) The version number to upgrade to. Default is the latest wallet version

Result:
null    (json null)

Examples:
> bitcoin-cli upgradewallet 200300
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "upgradewallet", "params": [200300]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/