From 09754063e0605429680f4c58a85967777ad87cc1 Mon Sep 17 00:00:00 2001 From: Suhas Daftuar Date: Fri, 19 Jan 2018 09:58:21 -0500 Subject: [PATCH] Correct mempool mapTx comment --- src/txmempool.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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