Skip to content

Commit 4aa06f9

Browse files
committed
Merge bitcoin/bitcoin#23600: doc: Tidy up nMinDiskSpace comment
fa5a886 doc: Tidy up nMinDiskSpace comment (MarcoFalke) Pull request description: nMinDiskSpace was removed in commit 04cca33 Also, remove incorrect doxygen comment. See https://doxygen.bitcoincore.org/class_c_chain.html#aeb563751f7362d4308c7c2cb35b834a5 ACKs for top commit: theStack: ACK fa5a886 Tree-SHA512: d57a6a0f0a66615bebb3cca19dc831cca38be0f18a580bb88e774384c55ccc545279b6d115b86fda70528a86630065393fb692fc2997ef87f97eec2d162808bb
2 parents 200d97f + fa5a886 commit 4aa06f9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/chain.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55

66
#include <chain.h>
77

8-
/**
9-
* CChain implementation
10-
*/
118
void CChain::SetTip(CBlockIndex *pindex) {
129
if (pindex == nullptr) {
1310
vChain.clear();

src/validation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2043,7 +2043,7 @@ bool CChainState::FlushStateToDisk(
20432043
fDoFullFlush = (mode == FlushStateMode::ALWAYS) || fCacheLarge || fCacheCritical || fPeriodicFlush || fFlushForPrune;
20442044
// Write blocks and block index to disk.
20452045
if (fDoFullFlush || fPeriodicWrite) {
2046-
// Depend on nMinDiskSpace to ensure we can write block index
2046+
// Ensure we can write block index
20472047
if (!CheckDiskSpace(gArgs.GetBlocksDirPath())) {
20482048
return AbortNode(state, "Disk space is too low!", _("Disk space is too low!"));
20492049
}

0 commit comments

Comments
 (0)