Skip to content

Commit b71ee08

Browse files
laanwjcodablock
authored andcommitted
Merge bitcoin#8015: CCoinsViewErrorCatcher raison-d-etre
a4d5855 CCoinsViewErrorCatcher raison-d-etre (21E14)
1 parent 9bf6987 commit b71ee08

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
@@ -169,6 +169,11 @@ bool ShutdownRequested()
169169
return fRequestShutdown || fRestartRequested;
170170
}
171171

172+
/**
173+
* This is a minimally invasive approach to shutdown on LevelDB read errors from the
174+
* chainstate, while keeping user interface out of the common library, which is shared
175+
* between bitcoind, and bitcoin-qt and non-server tools.
176+
*/
172177
class CCoinsViewErrorCatcher : public CCoinsViewBacked
173178
{
174179
public:

0 commit comments

Comments
 (0)