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

@@ -2034,7 +2034,7 @@ void RelayTransaction(const CTransaction& tx, const uint256& hash, const CDataSt
LOCK(pnode->cs_filter);
if (pnode->pfilter)
{
if (pnode->pfilter->IsTransactionRelevantToFilter(tx, hash))
if (pnode->pfilter->IsRelevantAndUpdate(tx, hash))
pnode->PushInventory(inv);
} else
pnode->PushInventory(inv);