@@ -147,14 +147,18 @@ def run_test(self):
147147 self .log .info ('A transaction that conflicts with an unconfirmed tx' )
148148 # Send the transaction that replaces the mempool transaction and opts out of replaceability
149149 node .sendrawtransaction (hexstring = tx .serialize ().hex (), maxfeerate = 0 )
150+
151+ # not relevant with full-rbf
152+
150153 # take original raw_tx_0
151- tx = tx_from_hex (raw_tx_0 )
152- tx .vout [0 ].nValue -= int (4 * fee * COIN ) # Set more fee
153- self .check_mempool_result (
154- result_expected = [{'txid' : tx .rehash (), 'allowed' : False , 'reject-reason' : 'txn-mempool-conflict' }],
155- rawtxs = [tx .serialize ().hex ()],
156- maxfeerate = 0 ,
157- )
154+ #tx = tx_from_hex(raw_tx_0)
155+ #tx.vout[0].nValue -= int(4 * fee * COIN) # Set more fee
156+ #
157+ #self.check_mempool_result(
158+ # result_expected=[{'txid': tx.rehash(), 'allowed': False, 'reject-reason': 'txn-mempool-conflict'}],
159+ # rawtxs=[tx.serialize().hex()],
160+ # maxfeerate=0,
161+ #)
158162
159163 self .log .info ('A transaction with missing inputs, that never existed' )
160164 tx = tx_from_hex (raw_tx_0 )
@@ -316,13 +320,6 @@ def run_test(self):
316320 result_expected = [{'txid' : tx .rehash (), 'allowed' : False , 'reject-reason' : 'dust' }],
317321 rawtxs = [tx .serialize ().hex ()],
318322 )
319- tx = tx_from_hex (raw_tx_reference )
320- tx .vout [0 ].scriptPubKey = CScript ([OP_RETURN , b'\xff ' ])
321- tx .vout = [tx .vout [0 ]] * 2
322- self .check_mempool_result (
323- result_expected = [{'txid' : tx .rehash (), 'allowed' : False , 'reject-reason' : 'multi-op-return' }],
324- rawtxs = [tx .serialize ().hex ()],
325- )
326323
327324 self .log .info ('A timelocked transaction' )
328325 tx = tx_from_hex (raw_tx_reference )
0 commit comments