diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-05-26 07:26:21 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-05-26 07:32:50 +0200 |
| commit | 6fc6325f77ee1ca53f9180140ddcaf7f2d72d9d3 (patch) | |
| tree | 31f304630affcb8b5b731f8f2a788ed35639c622 /src/init.cpp | |
| parent | Merge #8034: [doc][trivial] Add basic git squash workflow [skip ci] (diff) | |
| parent | CCoinsViewErrorCatcher raison-d-etre (diff) | |
| download | discoin-6fc6325f77ee1ca53f9180140ddcaf7f2d72d9d3.tar.xz discoin-6fc6325f77ee1ca53f9180140ddcaf7f2d72d9d3.zip | |
Merge #8015: CCoinsViewErrorCatcher raison-d-etre
a4d5855 CCoinsViewErrorCatcher raison-d-etre (21E14)
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 a6d14996b..617d2e984 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: |