HomePhabricator

Check against MANDATORY flags prior to accepting to mempool
7c041b3b91aaUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Check against MANDATORY flags prior to accepting to mempool

Previously transactions were only tested again the
STANDARD_SCRIPT_VERIFY_FLAGS prior to mempool acceptance, so any bugs in
those flags that allowed actually-invalid transactions to pass would
result in allowing invalid transactions into the mempool. Fortunately
there is a second check in CreateNewBlock() that would prevent those
transactions from being mined, resulting in an invalid block, however
this could still be exploited as a DoS attack.

Details

Provenance
Peter Todd <pete@petertodd.org>Authored on Nov 10 2014, 07:52
deadalnixPushed on May 14 2017, 22:04
Parents
rABC7b7c86616006: Merge pull request #5210
Branches
Unknown
Tags
Unknown

Event Timeline

Peter Todd <pete@petertodd.org> committed rABC7c041b3b91aa: Check against MANDATORY flags prior to accepting to mempool (authored by Peter Todd <pete@petertodd.org>).Nov 10 2014, 07:52