572+ def test_orphan_reject_large_tx(self):
573+ self.log.info("Test that large transactions (>MAX_STANDARD_TX_WEIGHT) aren't put into orphanage")
574+ # we have to explicitly allow non-standard txs to reach this code path, as otherwise
575+ # the tx is already rejected earlier with "tx-size" (see `IsStandardTx` check)
576+ self.restart_node(0, extra_args=['-acceptnonstdtxn=1'])
577+ oversize_weight = MAX_STANDARD_TX_WEIGHT + 1
Locally modified this (to 1000) to see the assert_debug_log
check fail (missing larg_orphan_logmsg
). The assert failed as expected.