upgradewallet

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.

Argument #1-version

Type: number (int), Optional
Default=169900

Description: The version number to upgrade to. Default is the latest wallet version.

Result

  {                            (json object)
    "wallet_name" : "str",     (string) Name of wallet this operation was performed on
    "previous_version" : n,    (numeric) Version of wallet before this operation
    "current_version" : n,     (numeric) Version of wallet after this operation
    "result" : "str",          (string, optional) Description of result, if no error
    "error" : "str"            (string, optional) Error message (if there is one)
  }