Is there a way to force fail the transaction in testnet network

0

I would like to test my application with all the edge cases. Could you please tell me is there a way to force fail the transaction in the testnet blockchain so I can test if my application handles that case correctly.

Thank you for the answers in advance.

Goran

Posted 2016-01-06T11:30:45.620

Reputation: 101

1Hi Goran, Could you please be more specific what type of failure you mean? If you mean "not included in a block", you could just not publish it to the network.Murch 2016-01-06T13:38:43.380

The type of failure i mean is that when it is published but orphaned (or any other failure)Goran 2016-01-06T18:01:02.457

So, a doublespend?Murch 2016-01-06T20:04:09.440

Answers

-1

You can set fees to very low (for example 1500 for a small 1 input 1 output transaction), not zero though. That will (most likely) get your transaction to be not mined in a few days and dropped.

Zepplock

Posted 2016-01-06T11:30:45.620

Reputation: 99

Does that work on testnet?Murch 2016-01-07T11:30:52.630

I would avoid testnet if possible. It's not really behaving like a real one.Zepplock 2016-01-07T23:29:16.473