diff options
| author | Suhas Daftuar <[email protected]> | 2018-01-19 09:58:21 -0500 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2018-01-19 09:58:21 -0500 |
| commit | 09754063e0605429680f4c58a85967777ad87cc1 (patch) | |
| tree | beee32fa4e312ad4b4361403c8481c61f4d1bb75 /src/txmempool.h | |
| parent | Merge #12212: Trivial: Fix spelling in zapwallettxes test description (diff) | |
| download | discoin-09754063e0605429680f4c58a85967777ad87cc1.tar.xz discoin-09754063e0605429680f4c58a85967777ad87cc1.zip | |
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 d6f8e7094..d25d9c50b 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 |