diff options
| author | 21E14 <[email protected]> | 2016-05-06 00:10:49 -0400 |
|---|---|---|
| committer | 21E14 <[email protected]> | 2016-05-06 00:10:49 -0400 |
| commit | a4d5855a2518c0727faf737de4febcee5f5c4901 (patch) | |
| tree | f3436c88c5b9690e928fbffed01b2868a1e218d3 /src/init.cpp | |
| parent | Merge #7907: Optimize and Cleanup CScript::FindAndDelete (diff) | |
| download | discoin-a4d5855a2518c0727faf737de4febcee5f5c4901.tar.xz discoin-a4d5855a2518c0727faf737de4febcee5f5c4901.zip | |
CCoinsViewErrorCatcher raison-d-etre
Diffstat (limited to 'src/init.cpp')
| -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 b06f448a0..d74e6272e 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: |