aboutsummaryrefslogtreecommitdiff
path: root/src/bloom.h
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2012-08-18 23:38:28 -0400
committerMatt Corallo <git@bluematt.me>2013-01-16 12:48:02 -0500
commitd3b26f7077f58ebfcfccc5f0b16f8c29be5dc6b5 (patch)
tree6dc2f03a18dcc8b237a7dbf2b5fd3fcb3c4dcd9b /src/bloom.h
parent269d9c6492dc275650d2137d53f4afdca88e3216 (diff)
Automatically add any matching outputs to a filter during matching.
Diffstat (limited to 'src/bloom.h')
-rw-r--r--src/bloom.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bloom.h b/src/bloom.h
index 335bb5e0bb..1a8a562dad 100644
--- a/src/bloom.h
+++ b/src/bloom.h
@@ -64,7 +64,8 @@ public:
// (catch a filter which was just deserialized which was too big)
bool IsWithinSizeConstraints() const;
- bool IsTransactionRelevantToFilter(const CTransaction& tx, const uint256& hash) const;
+ // Also adds any outputs which match the filter to the filter (to match their spending txes)
+ bool IsRelevantAndUpdate(const CTransaction& tx, const uint256& hash);
};
#endif /* BITCOIN_BLOOM_H */