How to send an invalid transaction for testing purposes?

0

How could I send an invalid transaction—for testing purposes, such as with testnet or regtest?

For example, I would like to to try to double-spend, spend non existent coins, etc.

Geremia

Posted 2015-07-24T03:19:56.517

Reputation: 3 665

1Using createrawtransaction without using signrawtransaction seems like it would work.Nick ODell 2015-07-24T04:03:33.353

@NickODell Transactions don't have to be signed?Geremia 2015-07-24T05:27:07.270

Not if you don't care about them being valid. createrawtransaction will give you empty signature fields.Nick ODell 2015-07-24T14:38:50.883

No answers