Browse Source

CCoinsViewErrorCatcher raison-d-etre

0.13
21E14 9 years ago
parent
commit
a4d5855a25
  1. 5
      src/init.cpp

5
src/init.cpp

@ -136,6 +136,11 @@ bool ShutdownRequested()
return fRequestShutdown; 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 class CCoinsViewErrorCatcher : public CCoinsViewBacked
{ {
public: public:

Loading…
Cancel
Save