aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/chain.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-07-28 19:45:45 -0400
committerRussell Yanofsky <russ@yanofsky.org>2019-02-22 15:43:02 -0400
commit1fb0a4a04e9cda19ed5ad04694a39c83c91b6072 (patch)
tree5b09b20818eea283c6fa782662f0fbef6ced776b /src/interfaces/chain.h
parentcd32160af0528cc746968ee0eadf4f63c98665f2 (diff)
Remove use of CalculateMemPoolAncestors in wallet code
This commit does not change behavior.
Diffstat (limited to 'src/interfaces/chain.h')
-rw-r--r--src/interfaces/chain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h
index 33bbfefd9f..2e0328eb25 100644
--- a/src/interfaces/chain.h
+++ b/src/interfaces/chain.h
@@ -142,6 +142,9 @@ public:
//! Calculate mempool ancestor and descendant counts for the given transaction.
virtual void getTransactionAncestry(const uint256& txid, size_t& ancestors, size_t& descendants) = 0;
+
+ //! Check chain limits.
+ virtual bool checkChainLimits(CTransactionRef tx) = 0;
};
//! Interface to let node manage chain clients (wallets, or maybe tools for