mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Merge #8015: CCoinsViewErrorCatcher raison-d-etre
a4d5855
CCoinsViewErrorCatcher raison-d-etre (21E14)
This commit is contained in:
parent
9bf6987933
commit
b71ee087ad
@ -169,6 +169,11 @@ bool ShutdownRequested()
|
||||
return fRequestShutdown || fRestartRequested;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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…
Reference in New Issue
Block a user