Browse Source

Merge #8015: CCoinsViewErrorCatcher raison-d-etre

a4d5855 CCoinsViewErrorCatcher raison-d-etre (21E14)
0.13
Wladimir J. van der Laan 8 years ago
parent
commit
6fc6325f77
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 5
      src/init.cpp

5
src/init.cpp

@ -134,6 +134,11 @@ bool ShutdownRequested() @@ -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:

Loading…
Cancel
Save