From 957ae232414b38adcf9358e198fded42f7c1feea Mon Sep 17 00:00:00 2001 From: Suhas Daftuar Date: Tue, 25 Nov 2025 12:58:28 -0500 Subject: [PATCH] Improve comments for getTransactionAncestry to reference cluster counts instead of descendants --- src/interfaces/chain.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h index 2b1d953ed28..40291d20513 100644 --- a/src/interfaces/chain.h +++ b/src/interfaces/chain.h @@ -221,8 +221,8 @@ public: node::TxBroadcast broadcast_method, std::string& err_string) = 0; - //! Calculate mempool ancestor and descendant counts for the given transaction. - virtual void getTransactionAncestry(const Txid& txid, size_t& ancestors, size_t& descendants, size_t* ancestorsize = nullptr, CAmount* ancestorfees = nullptr) = 0; + //! Calculate mempool ancestor and cluster counts for the given transaction. + virtual void getTransactionAncestry(const Txid& txid, size_t& ancestors, size_t& cluster_count, size_t* ancestorsize = nullptr, CAmount* ancestorfees = nullptr) = 0; //! For each outpoint, calculate the fee-bumping cost to spend this outpoint at the specified // feerate, including bumping its ancestors. For example, if the target feerate is 10sat/vbyte