Skip to content

Commit 6fc6325

Browse files
committed
Merge #8015: CCoinsViewErrorCatcher raison-d-etre
a4d5855 CCoinsViewErrorCatcher raison-d-etre (21E14)
2 parents e3a8207 + a4d5855 commit 6fc6325

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
@@ -134,6 +134,11 @@ bool ShutdownRequested()
134134
return fRequestShutdown;
135135
}
136136

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

0 commit comments

Comments
 (0)