diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2018-01-19 09:58:21 -0500 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2018-01-19 09:58:21 -0500 |
commit | 09754063e0605429680f4c58a85967777ad87cc1 (patch) | |
tree | beee32fa4e312ad4b4361403c8481c61f4d1bb75 /src/txmempool.h | |
parent | 9a97f39afaa890caa7987c6bc001b9a66e3e74e8 (diff) |
Correct mempool mapTx comment
Diffstat (limited to 'src/txmempool.h')
-rw-r--r-- | src/txmempool.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index d6f8e7094b..d25d9c50bb 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -379,8 +379,9 @@ public: * * mapTx is a boost::multi_index that sorts the mempool on 4 criteria: * - transaction hash - * - feerate [we use max(feerate of tx, feerate of tx with all descendants)] + * - descendant feerate [we use max(feerate of tx, feerate of tx with all descendants)] * - time in mempool + * - ancestor feerate [we use min(feerate of tx, feerate of tx with all unconfirmed ancestors)] * * Note: the term "descendant" refers to in-mempool transactions that depend on * this one, while "ancestor" refers to in-mempool transactions that a given |