diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-05-07 14:30:04 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-07-13 11:00:54 -0400 |
commit | d0ea9bab2804928c9f40def61fd99064d2d8f9b8 (patch) | |
tree | ee3edf72d9ff4f22542850bb66fc3fd667288e33 /src/wallet/bdb.h | |
parent | 160800ac105568a59e343411d21a90e9530e1b9e (diff) | |
download | bitcoin-d0ea9bab2804928c9f40def61fd99064d2d8f9b8.tar.xz |
walletdb: Don't remove database transaction logs and instead error
Instead of removing the database transaction logs and retrying the
wallet loading, just return an error message to the user. Additionally,
specifically for DB_RUNRECOVERY, notify the user that this could be due
to different BDB versions. This error is pretty much only caused by
compiling with a newer version of BDB and then trying to open the wallet
with a version compiled with an older version of BDB.
Diffstat (limited to 'src/wallet/bdb.h')
-rw-r--r-- | src/wallet/bdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/bdb.h b/src/wallet/bdb.h index 599319482b..9c1a5553c6 100644 --- a/src/wallet/bdb.h +++ b/src/wallet/bdb.h @@ -69,7 +69,7 @@ public: bool Verify(const std::string& strFile); - bool Open(bool retry); + bool Open(bilingual_str& error); void Close(); void Flush(bool fShutdown); void CheckpointLSN(const std::string& strFile); |