Skip to content

Commit 4eca20d

Browse files
committed
[doc] correct comment about ATMPW
ATMPW stands for AcceptToMemoryPoolWorker, which was removed in #16400.
1 parent 8fa74ae commit 4eca20d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/validation.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,9 +1100,9 @@ static MempoolAcceptResult AcceptToMemoryPoolWithTime(const CChainParams& chainp
11001100
assert(std::addressof(::ChainstateActive()) == std::addressof(active_chainstate));
11011101
const MempoolAcceptResult result = MemPoolAccept(pool, active_chainstate).AcceptSingleTransaction(tx, args);
11021102
if (result.m_result_type != MempoolAcceptResult::ResultType::VALID) {
1103-
// Remove coins that were not present in the coins cache before calling ATMPW;
1104-
// this is to prevent memory DoS in case we receive a large number of
1105-
// invalid transactions that attempt to overrun the in-memory coins cache
1103+
// Remove coins that were not present in the coins cache before calling
1104+
// AcceptSingleTransaction(); this is to prevent memory DoS in case we receive a large
1105+
// number of invalid transactions that attempt to overrun the in-memory coins cache
11061106
// (`CCoinsViewCache::cacheCoins`).
11071107

11081108
for (const COutPoint& hashTx : coins_to_uncache)

0 commit comments

Comments
 (0)