Skip to content

Commit 0975406

Browse files
committed
Correct mempool mapTx comment
1 parent 9a97f39 commit 0975406

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/txmempool.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,9 @@ class SaltedTxidHasher
379379
*
380380
* mapTx is a boost::multi_index that sorts the mempool on 4 criteria:
381381
* - transaction hash
382-
* - feerate [we use max(feerate of tx, feerate of tx with all descendants)]
382+
* - descendant feerate [we use max(feerate of tx, feerate of tx with all descendants)]
383383
* - time in mempool
384+
* - ancestor feerate [we use min(feerate of tx, feerate of tx with all unconfirmed ancestors)]
384385
*
385386
* Note: the term "descendant" refers to in-mempool transactions that depend on
386387
* this one, while "ancestor" refers to in-mempool transactions that a given

0 commit comments

Comments
 (0)