HomePhabricator

Fix DoS vulnerability in mempool acceptance

Description

Fix DoS vulnerability in mempool acceptance

Moves the IsStandard check to happen after the premature-witness check,
so that adding a witness to a transaction can't prevent mempool acceptance.

Note that this doesn't address the broader category of potential mempool DoS
issues that affect transactions after segwit activation.

Details

Provenance
Suhas Daftuar <sdaftuar@gmail.com>Authored on Jul 7 2016, 19:49
deadalnixPushed on May 14 2017, 22:04
Parents
rABC91abb77970f4: Merge #8288: qt: Network-specific example address
Branches
Unknown
Tags
Unknown

Event Timeline

Suhas Daftuar <sdaftuar@gmail.com> committed rABCbb66a1139633: Fix DoS vulnerability in mempool acceptance (authored by Suhas Daftuar <sdaftuar@gmail.com>).Jul 7 2016, 19:49