HomePhabricator

Introduce explicit -walletupgrade option
439e1497e130Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Introduce explicit -walletupgrade option

Do not automatically change the wallet format unless the user takes an
explicit action that implies an upgrade (encrypting, for now), or uses
-walletupgrade.

-walletupgrade optionally takes an integer argument: the client version
up to which upgrading is allowed. Without an argument, it is upgraded
to latest supported version. If an argument to -walletupgrade is
provided at the time the wallet is created, the new wallet will initially
not use features beyond that version.

Third, the current wallet version number is reported in getinfo.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Mar 22 2012, 02:56
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING4a17e3e6b947: Merge pull request #946 from luke-jr/bugfix_rm_mingw
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rSTAGING439e1497e130: Introduce explicit -walletupgrade option (authored by Pieter Wuille <pieter.wuille@gmail.com>).Mar 22 2012, 22:47