diff options
| author | Pieter Wuille <[email protected]> | 2012-03-22 04:59:59 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-03-22 04:59:59 +0100 |
| commit | ef12c2184d926eea25cc804a75bc4068f9f81891 (patch) | |
| tree | 5d521bec92448b466b4ae3463ce9f121fc98c663 /src/util.cpp | |
| parent | Fix warning about deprecated unescaped backslash (diff) | |
| download | discoin-ef12c2184d926eea25cc804a75bc4068f9f81891.tar.xz discoin-ef12c2184d926eea25cc804a75bc4068f9f81891.zip | |
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.
Diffstat (limited to 'src/util.cpp')
0 files changed, 0 insertions, 0 deletions