HomePhabricator

test: add unit test for non-standard txs with too large scriptSig

Description

test: add unit test for non-standard txs with too large scriptSig

Summary:

The function IsStandardTx() returns rejection reason "scriptsig-size" if any
one the inputs' scriptSig is larger than 1650 bytes.

This is a backport of Core PR17480

Test Plan: ninja && ninja check

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien

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

Details

Provenance
Sebastian Falbesoner <sebastian.falbesoner@gmail.com>Authored on Nov 5 2020, 06:36
PiRKCommitted on Nov 5 2020, 06:36
abc-botPushed on Nov 5 2020, 06:42
Reviewer
Restricted Owners Package
Differential Revision
D8264: test: add unit test for non-standard txs with too large scriptSig
Parents
rABC725dda17e52f: [Automated] Update timing.json
Branches
Unknown
Tags
Unknown