diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-03-22 03:56:31 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-03-22 23:47:29 +0100 |
commit | 439e1497e130914c2b78eff20c38046d6b1b6d49 (patch) | |
tree | 20eef7dba2044093e6a92fdce3f5a62c16f62840 /src/protocol.h | |
parent | 4a17e3e6b947d6ede40e49f77244d880240240cd (diff) |
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.
Diffstat (limited to 'src/protocol.h')
0 files changed, 0 insertions, 0 deletions