Keep track of recently rejected transactions
Keep track of recently rejected transactions

Nodes can have divergent policies on which transactions they will accept
and relay.  This can cause you to repeatedly request and reject the same
tx after its inved to you from various peers which have accepted it.
Here we add rolling bloom filter to keep track of such rejections,
clearing the filter every time the chain tip changes.

Credit goes to Alex Morcos, who created the patch that this code is
based on.

Original code by Peter Todd. Refactored to not construct the
filter at startup time by Pieter Wuille.

bitcoinxt/bitcoinxt,dagurval/bitcoinxt,rromanchuk/bitcoinxt,stevemyers/bitcoinxt,rromanchuk/bitcoinxt,dagurval/bitcoinxt,stevemyers/bitcoinxt,dagurval/bitcoinxt,rromanchuk/bitcoinxt,rromanchuk/bitcoinxt,dagurval/bitcoinxt,stevemyers/bitcoinxt,rromanchuk/bitcoinxt,stevemyers/bitcoinxt,stevemyers/bitcoinxt,dagurval/bitcoinxt,stevemyers/bitcoinxt,bitcoinxt/bitcoinxt,bitcoinxt/bitcoinxt,bitcoinxt/bitcoinxt,bitcoinxt/bitcoinxt,rromanchuk/bitcoinxt,dagurval/bitcoinxt,bitcoinxt/bitcoinxt