aboutsummaryrefslogtreecommitdiff
path: root/src/keystore.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-03-22 04:59:59 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2012-03-22 04:59:59 +0100
commitef12c2184d926eea25cc804a75bc4068f9f81891 (patch)
tree5d521bec92448b466b4ae3463ce9f121fc98c663 /src/keystore.cpp
parent100da7367767e7fa360f48f07b7a20e9374fda84 (diff)
downloadbitcoin-ef12c2184d926eea25cc804a75bc4068f9f81891.tar.xz
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/keystore.cpp')
0 files changed, 0 insertions, 0 deletions