HomePhabricator

Keep track of recently rejected transactions
0847d9cb5fcdUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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.

Details

Provenance
Peter Todd <pete@petertodd.org>Authored on Jul 17 2015, 10:46
deadalnixPushed on May 14 2017, 22:04
Parents
rABCd741371d7d27: Only use randomly created nonces in CRollingBloomFilter.
Branches
Unknown
Tags
Unknown

Event Timeline

Peter Todd <pete@petertodd.org> committed rABC0847d9cb5fcd: Keep track of recently rejected transactions (authored by Peter Todd <pete@petertodd.org>).Jul 28 2015, 19:50