diff options
author | 21E14 <21xe14@gmail.com> | 2016-05-06 00:10:49 -0400 |
---|---|---|
committer | 21E14 <21xe14@gmail.com> | 2016-05-06 00:10:49 -0400 |
commit | a4d5855a2518c0727faf737de4febcee5f5c4901 (patch) | |
tree | f3436c88c5b9690e928fbffed01b2868a1e218d3 /src | |
parent | 006cdf64dc93239c05202b1a81d538ecda1e6c2a (diff) |
CCoinsViewErrorCatcher raison-d-etre
Diffstat (limited to 'src')
-rw-r--r-- | src/init.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index b06f448a00..d74e6272ef 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -136,6 +136,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: |