HomePhabricator

Check minversion before loading the rest of the wallet
ef12c2184d92Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Check minversion before loading the rest of the wallet

When a 0.6 wallet with compressed pubkeys is created, it writes a
minversion record to prevent older clients from reading it. If the 0.5
loading it sees a key record before seeing the minversion record however,
it will fail with DB_CORRUPT instead of DB_TOO_NEW.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Mar 22 2012, 03:59
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING100da7367767: Fix warning about deprecated unescaped backslash
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rSTAGINGef12c2184d92: Check minversion before loading the rest of the wallet (authored by Pieter Wuille <pieter.wuille@gmail.com>).Mar 22 2012, 03:59