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.

  • 1
    Hi 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 Jan 6 '16 at 13:38
  • The type of failure i mean is that when it is published but orphaned (or any other failure) – Goran Jan 6 '16 at 18:01
  • So, a doublespend? – Murch Jan 6 '16 at 20:04
-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.

  • Does that work on testnet? – Murch Jan 7 '16 at 11:30
  • I would avoid testnet if possible. It's not really behaving like a real one. – Zepplock Jan 7 '16 at 23:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.