aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-05-26 07:26:21 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-05-26 07:32:50 +0200
commit6fc6325f77ee1ca53f9180140ddcaf7f2d72d9d3 (patch)
tree31f304630affcb8b5b731f8f2a788ed35639c622
parente3a820751f11b3b30ac19d8118df3e755132e470 (diff)
parenta4d5855a2518c0727faf737de4febcee5f5c4901 (diff)
Merge #8015: CCoinsViewErrorCatcher raison-d-etre
a4d5855 CCoinsViewErrorCatcher raison-d-etre (21E14)
-rw-r--r--src/init.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index a6d14996bd..617d2e9847 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -134,6 +134,11 @@ bool ShutdownRequested()
return fRequestShutdown;
}
+/**
+ * This is a minimally invasive approach to shutdown on LevelDB read errors from the
+ * chainstate, while keeping user interface out of the common library, which is shared
+ * between bitcoind, and bitcoin-qt and non-server tools.
+*/
class CCoinsViewErrorCatcher : public CCoinsViewBacked
{
public: