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/node/interfaces.cpp | |
parent | 42af9596ce85a541988abee54eed8a9b271a46a1 (diff) | |
download | bitcoin-3f77dfdaf0f0bfe0c4662a616d6943f31bdd5bf4.tar.xz |
Expose ancestorsize and ancestorfees via getTransactionAncestry
Diffstat (limited to 'src/node/interfaces.cpp')
-rw-r--r-- | src/node/interfaces.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/interfaces.cpp b/src/node/interfaces.cpp index 183b5a5d91..e4c0dc9491 100644 --- a/src/node/interfaces.cpp +++ b/src/node/interfaces.cpp @@ -574,11 +574,11 @@ public: // that Chain clients do not need to know about. return TransactionError::OK == err; } - void getTransactionAncestry(const uint256& txid, size_t& ancestors, size_t& descendants) override + void getTransactionAncestry(const uint256& txid, size_t& ancestors, size_t& descendants, size_t* ancestorsize, CAmount* ancestorfees) override { ancestors = descendants = 0; if (!m_node.mempool) return; - m_node.mempool->GetTransactionAncestry(txid, ancestors, descendants); + m_node.mempool->GetTransactionAncestry(txid, ancestors, descendants, ancestorsize, ancestorfees); } void getPackageLimits(unsigned int& limit_ancestor_count, unsigned int& limit_descendant_count) override { |