Improve comments for getTransactionAncestry to reference cluster counts instead of descendants

This commit is contained in:
Suhas Daftuar committed 2025-12-01 10:53:22 -05:00
1 parent d97d6199ce
commit 957ae23241
1 file changed
+2 -2
+2 -2
View File
@@ -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