HomePhabricator

test: add unit test for non-standard "scriptsig-not-pushonly" txs

Description

test: add unit test for non-standard "scriptsig-not-pushonly" txs

Summary:

The function IsStandardTx() returns rejection reason "scriptsig-not-pushonly"
if the transaction has at least one input for which the scriptSig consists of
any other ops than just PUSHs.

This is a a backport of Core PR17720

Test Plan: ninja && ninja check

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Subscribers: majcosta

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

Details

Provenance
Sebastian Falbesoner <sebastian.falbesoner@gmail.com>Authored on Jan 12 2021, 14:09
PiRKCommitted on Jan 12 2021, 14:09
abc-botPushed on Jan 12 2021, 14:16
Reviewer
Restricted Project
Differential Revision
D8872: test: add unit test for non-standard "scriptsig-not-pushonly" txs
Parents
rABC42a8d3bc2caa: [avalanche] Initiate avalanche when the service bit is present and we have a…
Branches
Unknown
Tags
Unknown