Merge #8796: [trivial] fix mempool comment (outdated by BIP125)

c14ffd5 [trivial] fix mempool comment (outdated by BIP125) (jonnynewbs)
This commit is contained in:
Wladimir J. van der Laan 2016-09-26 15:10:10 +02:00 committed by Alexander Block
parent 0028dbfbfd
commit 4a917b1b35

View File

@ -342,14 +342,17 @@ public:
};
/**
* CTxMemPool stores valid-according-to-the-current-best-chain
* transactions that may be included in the next block.
* CTxMemPool stores valid-according-to-the-current-best-chain transactions
* that may be included in the next block.
*
* Transactions are added when they are seen on the network
* (or created by the local node), but not all transactions seen
* are added to the pool: if a new transaction double-spends
* an input of a transaction in the pool, it is dropped,
* as are non-standard transactions.
* Transactions are added when they are seen on the network (or created by the
* local node), but not all transactions seen are added to the pool. For
* example, the following new transactions will not be added to the mempool:
* - a transaction which doesn't make the mimimum fee requirements.
* - a new transaction that double-spends an input of a transaction already in
* the pool where the new transaction does not meet the Replace-By-Fee
* requirements as defined in BIP 125.
* - a non-standard transaction.
*
* CTxMemPool::mapTx, and CTxMemPoolEntry bookkeeping:
*