aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorJeremy Rubin <j@rubin.io>2019-08-30 13:25:41 -0700
committerJeremy Rubin <j@rubin.io>2019-10-21 13:16:22 -0700
commit595f09d6de7f1b94428cdd1310777aa6a4c584e5 (patch)
tree1b0757ce67c764b91ac4ccf97bc95fe6f7dbc99e /src/wallet/wallet.h
parentdce032ce294fe0d531770f540b1de00dc1d13f4b (diff)
Cache tx Trust per-call to avoid DoS
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index f9e2230a6f..986baa89ee 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -616,6 +616,7 @@ public:
bool InMempool() const;
bool IsTrusted(interfaces::Chain::Lock& locked_chain) const;
+ bool IsTrusted(interfaces::Chain::Lock& locked_chain, std::set<uint256>& trustedParents) const;
int64_t GetTxTime() const;