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