File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 5
5
6
6
#include < chain.h>
7
7
8
- /* *
9
- * CChain implementation
10
- */
11
8
void CChain::SetTip (CBlockIndex *pindex) {
12
9
if (pindex == nullptr ) {
13
10
vChain.clear ();
Original file line number Diff line number Diff line change @@ -2043,7 +2043,7 @@ bool CChainState::FlushStateToDisk(
2043
2043
fDoFullFlush = (mode == FlushStateMode::ALWAYS) || fCacheLarge || fCacheCritical || fPeriodicFlush || fFlushForPrune ;
2044
2044
// Write blocks and block index to disk.
2045
2045
if (fDoFullFlush || fPeriodicWrite ) {
2046
- // Depend on nMinDiskSpace to ensure we can write block index
2046
+ // Ensure we can write block index
2047
2047
if (!CheckDiskSpace (gArgs .GetBlocksDirPath ())) {
2048
2048
return AbortNode (state, " Disk space is too low!" , _ (" Disk space is too low!" ));
2049
2049
}
You can’t perform that action at this time.
0 commit comments