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
Differential D8872
test: add unit test for non-standard "scriptsig-not-pushonly" txs PiRK on Jan 11 2021, 14:10. Authored by
Details
This is a a backport of Core PR17720 ninja && ninja check
Diff Detail
Event TimelineComment Actions Build Bitcoin ABC Diffs / Diff Testing (build-clang-tidy) failed.
Tail of the build log: [153/427] Running utility command for check-pow-grasberg_tests [154/427] Building CXX object src/seeder/test/CMakeFiles/test-seeder.dir/write_name_tests.cpp.o [155/427] Test Bitcoin RPC authentication... ... ---------------------------------------------------------------------- Ran 3 tests in 0.004s OK [156/427] Automatic MOC for target test_bitcoin-qt [157/427] cd /work/contrib/devtools/chainparams && /usr/bin/python3.7 ./test_make_chainparams.py ..... ---------------------------------------------------------------------- Ran 5 tests in 0.001s OK [158/427] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/init_tests.cpp.o [159/427] Test Bitcoin utilities... [160/427] Building CXX object src/seeder/test/CMakeFiles/test-seeder.dir/parse_name_tests.cpp.o [161/427] pow: testing aserti32d_tests [162/427] Building CXX object src/seeder/test/CMakeFiles/test-seeder.dir/p2p_messaging_tests.cpp.o [163/427] Running utility command for check-pow-aserti32d_tests [164/427] Running pow test suite PASSED: pow test suite [165/427] Linking CXX executable src/seeder/test/test-seeder [166/427] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/wallet_crypto_tests.cpp.o [167/427] seeder: testing message_writer_tests [168/427] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/bitcoinaddressvalidatortests.cpp.o [169/427] Running utility command for check-seeder-message_writer_tests [170/427] seeder: testing p2p_messaging_tests [171/427] seeder: testing parse_name_tests [172/427] Running utility command for check-seeder-p2p_messaging_tests [173/427] Running utility command for check-seeder-parse_name_tests [174/427] seeder: testing write_name_tests [175/427] Running utility command for check-seeder-write_name_tests [176/427] Running seeder test suite PASSED: seeder test suite [177/427] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/ismine_tests.cpp.o [178/427] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/compattests.cpp.o [179/427] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/walletdb_tests.cpp.o [180/427] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/test_bitcoin-qt_autogen/mocs_compilation.cpp.o [181/427] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/util.cpp.o [182/427] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/psbt_wallet_tests.cpp.o [183/427] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/guiutiltests.cpp.o [184/427] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/coinselector_tests.cpp.o [185/427] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/uritests.cpp.o [186/427] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/apptests.cpp.o [187/427] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/wallet_tests.cpp.o [188/427] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/rpcnestedtests.cpp.o [189/427] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/util_tests.cpp.o [190/427] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/test_main.cpp.o [191/427] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/paymentservertests.cpp.o [192/427] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/__/__/wallet/test/wallet_test_fixture.cpp.o [193/427] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/addressbooktests.cpp.o [194/427] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/wallettests.cpp.o [195/427] Linking CXX executable src/qt/test/test_bitcoin-qt [196/427] bitcoin-qt: testing test_bitcoin-qt [197/427] Running bitcoin-qt test suite PASSED: bitcoin-qt test suite ninja: build stopped: cannot make progress due to previous errors. Build build-clang-tidy failed with exit code 1 Comment Actions this is PR17720 right? missing in the summary
Comment Actions add braces, mention PR number for backport in the description, put a few comments on their own line to improve the scriptSig layout
|