aboutsummaryrefslogtreecommitdiff
path: root/src/bloom.h
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2012-08-18 23:38:28 -0400
committerMatt Corallo <[email protected]>2013-01-16 12:48:02 -0500
commitd3b26f7077f58ebfcfccc5f0b16f8c29be5dc6b5 (patch)
tree6dc2f03a18dcc8b237a7dbf2b5fd3fcb3c4dcd9b /src/bloom.h
parentReplace RelayMessage with RelayTransaction. (diff)
downloaddiscoin-d3b26f7077f58ebfcfccc5f0b16f8c29be5dc6b5.tar.xz
discoin-d3b26f7077f58ebfcfccc5f0b16f8c29be5dc6b5.zip
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 335bb5e0b..1a8a562da 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 */