aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorjonnynewbs <jonnynewbs@gmail.com>2016-09-16 14:54:44 -0400
committerjnewbery <john@johnnewbery.com>2016-09-26 08:52:52 -0400
commitc14ffd524b3477d6fdf142e9dc8281b780b45923 (patch)
tree4336ae4645f08c7bbcd0abb398b1768917aaa10d /src/txmempool.h
parenta82e5d8220bbc8b5d786bed99b0876f530b9b7cc (diff)
downloadbitcoin-c14ffd524b3477d6fdf142e9dc8281b780b45923.tar.xz
[trivial] fix mempool comment (outdated by BIP125)
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index 2c2127f326..6f67dd91d6 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -328,14 +328,17 @@ struct TxMempoolInfo
};
/**
- * 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:
*