You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"\nUpgrade the wallet. Upgrades to the latest version if no version number is specified\n"
4448
+
"\nUpgrade the wallet. Upgrades to the latest version if no version number is specified.\n"
4449
4449
"New keys may be generated and a new wallet backup will need to be made.",
4450
4450
{
4451
-
{"version", RPCArg::Type::NUM, /* default */strprintf("%d", FEATURE_LATEST), "The version number to upgrade to. Default is the latest wallet version"}
4451
+
{"version", RPCArg::Type::NUM, /* default */strprintf("%d", FEATURE_LATEST), "The version number to upgrade to. Default is the latest wallet version."}
4452
4452
},
4453
4453
RPCResult{
4454
4454
RPCResult::Type::OBJ, "", "",
4455
4455
{
4456
+
{RPCResult::Type::STR, "wallet_name", "Name of wallet this operation was performed on"},
4457
+
{RPCResult::Type::NUM, "previous_version", "Version of wallet before this operation"},
4458
+
{RPCResult::Type::NUM, "current_version", "Version of wallet after this operation"},
4459
+
{RPCResult::Type::STR, "result", /* optional */true, "Description of result, if no error"},
4456
4460
{RPCResult::Type::STR, "error", /* optional */true, "Error message (if there is one)"}
"result": "Already at latest version. Wallet version unchanged."ifunchangedelse"Wallet upgraded successfully from version {} to version {}.".format(previous_version, new_version),
0 commit comments