diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2019-10-18 04:02:50 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2021-08-01 23:38:47 +0000 |
commit | 3f77dfdaf0f0bfe0c4662a616d6943f31bdd5bf4 (patch) | |
tree | a2e4fab1809e89366d2355404229a384514c2303 /src/interfaces/chain.h | |
parent | 42af9596ce85a541988abee54eed8a9b271a46a1 (diff) | |
download | bitcoin-3f77dfdaf0f0bfe0c4662a616d6943f31bdd5bf4.tar.xz |
Expose ancestorsize and ancestorfees via getTransactionAncestry
Diffstat (limited to 'src/interfaces/chain.h')
-rw-r--r-- | src/interfaces/chain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h index 7cac435e96..bb218cf12d 100644 --- a/src/interfaces/chain.h +++ b/src/interfaces/chain.h @@ -174,7 +174,7 @@ public: std::string& err_string) = 0; //! Calculate mempool ancestor and descendant counts for the given transaction. - virtual void getTransactionAncestry(const uint256& txid, size_t& ancestors, size_t& descendants) = 0; + virtual void getTransactionAncestry(const uint256& txid, size_t& ancestors, size_t& descendants, size_t* ancestorsize = nullptr, CAmount* ancestorfees = nullptr) = 0; //! Get the node's package limits. //! Currently only returns the ancestor and descendant count limits, but could be enhanced to |