Skip to content

Commit 8f1fbf3

Browse files
committed
Merge #8796: [trivial] fix mempool comment (outdated by BIP125)
c14ffd5 [trivial] fix mempool comment (outdated by BIP125) (jonnynewbs)
2 parents dd20ed1 + c14ffd5 commit 8f1fbf3

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/txmempool.h

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -328,14 +328,17 @@ struct TxMempoolInfo
328328
};
329329

330330
/**
331-
* CTxMemPool stores valid-according-to-the-current-best-chain
332-
* transactions that may be included in the next block.
331+
* CTxMemPool stores valid-according-to-the-current-best-chain transactions
332+
* that may be included in the next block.
333333
*
334-
* Transactions are added when they are seen on the network
335-
* (or created by the local node), but not all transactions seen
336-
* are added to the pool: if a new transaction double-spends
337-
* an input of a transaction in the pool, it is dropped,
338-
* as are non-standard transactions.
334+
* Transactions are added when they are seen on the network (or created by the
335+
* local node), but not all transactions seen are added to the pool. For
336+
* example, the following new transactions will not be added to the mempool:
337+
* - a transaction which doesn't make the mimimum fee requirements.
338+
* - a new transaction that double-spends an input of a transaction already in
339+
* the pool where the new transaction does not meet the Replace-By-Fee
340+
* requirements as defined in BIP 125.
341+
* - a non-standard transaction.
339342
*
340343
* CTxMemPool::mapTx, and CTxMemPoolEntry bookkeeping:
341344
*

0 commit comments

Comments
 (0)