Skip to content

Commit b4cd8d5

Browse files
fanquakeknst
authored andcommitted
Merge 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
1 parent 9536eed commit b4cd8d5

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
@@ -13,9 +13,6 @@ std::string CBlockIndex::ToString() const
1313
pprev, nHeight, hashMerkleRoot.ToString(), GetBlockHash().ToString());
1414
}
1515

16-
/**
17-
* CChain implementation
18-
*/
1916
void CChain::SetTip(CBlockIndex *pindex) {
2017
if (pindex == nullptr) {
2118
vChain.clear();

src/validation.cpp

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

0 commit comments

Comments
 (0)