IsStandardTx()
returns rejection reason "scriptsig-size"
if any one the inputs’ scriptSig is larger than 1650 bytes.
783@@ -784,6 +784,19 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
784 reason.clear();
785 BOOST_CHECK(!IsStandardTx(CTransaction(t), reason));
786 BOOST_CHECK_EQUAL(reason, "multi-op-return");
787+
788+ // Check large scriptSig (non-standard if size is >1650 bytes)
789+ t.vout.resize(1);
790+ t.vout[0].nValue = 90*CENT;
The function IsStandardTx() returns rejection reason "scriptsig-size" if any
one the inputs' scriptSig is larger than 1650 bytes.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.