HomePhabricator

Check transaction that enter the mempool against the flags required for the…

Description

Check transaction that enter the mempool against the flags required for the current block rather than a minimal set of mandatory flags.

Summary:
This is based on work by Matt Coralo. We shouldn't accept in the mempool any transaction that won't be valid if mined.

Depends on D520, D526

Test Plan:

make check
../qa/pull-tester/rpc-tests.py -extended

Reviewers: freetrader, CCulianu, #bitcoin_abc, dagurval

Reviewed By: #bitcoin_abc, dagurval

Differential Revision: https://reviews.bitcoinabc.org/D527

Details

Provenance
deadalnixAuthored on Sep 5 2017, 19:54
deadalnixPushed on Sep 7 2017, 23:14
Reviewer
Restricted Project
Differential Revision
D527: Check transaction that enter the mempool against the flags required for the current block rather than a minimal set of mandatory flags.
Parents
rABC730ae53b947b: Extract the flag selection logic out of CheckBlock
Branches
Unknown
Tags
Unknown