Automatically add any matching outputs to a filter during matching.

This commit is contained in:
Matt Corallo
2012-08-18 23:38:28 -04:00
parent 269d9c6492
commit d3b26f7077
3 changed files with 19 additions and 6 deletions

View File

@@ -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 */