We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d021e6 commit 83eb124Copy full SHA for 83eb124
src/test/transaction_tests.cpp
@@ -850,6 +850,17 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
850
t.vout[0].scriptPubKey = CScript() << OP_1;
851
CheckIsNotStandard(t, "scriptpubkey");
852
853
+ // Test rejectparasites
854
+ t.vout[0].scriptPubKey = CScript() << OP_RETURN;
855
+ t.nLockTime = 21;
856
+ g_mempool_opts.reject_parasites = false;
857
+ CheckIsStandard(t);
858
+ g_mempool_opts.reject_parasites = true;
859
+ CheckIsNotStandard(t, "parasite-cat21");
860
+ t.nLockTime = 0;
861
862
863
+
864
// Test rejecttokens
865
t.vout[0].scriptPubKey = CScript() << OP_RETURN << OP_13 << OP_FALSE;
866
g_mempool_opts.reject_tokens = false;
0 commit comments