Skip to content

Commit a4d5855

Browse files
author
21E14
committed
CCoinsViewErrorCatcher raison-d-etre
1 parent 006cdf6 commit a4d5855

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/init.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@ bool ShutdownRequested()
136136
return fRequestShutdown;
137137
}
138138

139+
/**
140+
* This is a minimally invasive approach to shutdown on LevelDB read errors from the
141+
* chainstate, while keeping user interface out of the common library, which is shared
142+
* between bitcoind, and bitcoin-qt and non-server tools.
143+
*/
139144
class CCoinsViewErrorCatcher : public CCoinsViewBacked
140145
{
141146
public:

0 commit comments

Comments
 (0)