Page MenuHomePhabricator

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

Authored by PiRK on Nov 4 2020, 15:44.

Details

Reviewers
Fabien
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC8e494479e3a8: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable