<p>You will have to have custom software that can broadcast the transaction for you. Basically any and all nodes and transaction broadcast services will fully validate the transaction before it is broadcast. One part of that is checking for double spends, so you will need software that does not do this. AFAIK, there is no publicly available software that does that, so you would need to write your own broadcaster.</p>

CC BY-SA 3.0
2017-06-26T06:36:57.260Z
I've been reading around and see that a bitcore.js node can relay non-standard transactions. Is this wrong?
marsbar
CC BY-SA 3.0
2017-06-26T06:47:09.610Z
I don't know as I haven't used bitcore, but non-standard transactions are completely different from double spends. Double spends are not non-standard, they are invalid.
Ava Chow
CC BY-SA 3.0
2017-06-26T08:23:53.403Z
double-spends are not invalid
amaclin
CC BY-SA 3.0
2018-02-24T02:53:08.523Z
@amaclin well, they are, they violate consensus rules.
Willtech
CC BY-SA 4.0
2018-06-17T22:15:09.177Z
Double spends are only invalid inside a chain (the same output cannot be spent within one chain of blocks). The individual transactions, seen in isolation, are both valid, and preference for one or another is up to individual node's policy. Relaying double spends will not get you banned by the network, as it is not an unambiguous violation of the protocol. Submitting a transaction with an invalid signature for example is.
Pieter Wuille
CC BY-SA 3.0
2017-06-26T05:24:43.793Z
2017-06-26T05:24:43.793Z
Ava Chow
<p>The simplest way to do it - is broadcast the transaction to as many nodes, as possible. You can take my program for it <a href="https://cloud.mail.ru/public/2rUa/zgcW6vf8g" rel="nofollow noreferrer">https://cloud.mail.ru/public/2rUa/zgcW6vf8g</a> and add more ip-addresses to .conf file</p>

CC BY-SA 3.0
2017-06-26T06:36:44.263Z
2017-06-26T06:36:44.263Z
amaclin
<p>All of the pushtx sites reject the tx as a double spend. Would I have to run my own node through bitcoind? How would one do this?</p>

CC BY-SA 3.0
2017-06-26T09:42:36.077Z
First of all, could it be indeed a double-spending transaction, and you are not aware of it? (that is, have you tried to spend the same UTXOs before and the transaction haven't got confirmed) Or you are just trying to broadcast a transaction that you know is a double-spent?
sr_gi
<bitcoind><doublespend>
How would one relay a raw tx double spend to a node that accepts it?
marsbar
# How would one relay a raw tx double spend to a node that accepts it?

(Asked by: username_0 on 2017-06-26)

All of the pushtx sites reject the tx as a double spend. Would I have to run my own node through bitcoind? How would one do this?

**Tags:** bitcoind, doublespend

> **Comments:**
> **username_1**: First of all, could it be indeed a double-spending transaction, and you are not aware of it? (that is, have you tried to spend the same UTXOs before and the transaction haven't got confirmed) Or you are just trying to broadcast a transaction that you know is a double-spent?  

---

## 2 answers

### Answer by username_2 on 2017-06-26. Score: 1

You will have to have custom software that can broadcast the transaction for you. Basically any and all nodes and transaction broadcast services will fully validate the transaction before it is broadcast. One part of that is checking for double spends, so you will need software that does not do this. AFAIK, there is no publicly available software that does that, so you would need to write your own broadcaster.

> **Comments:**
> **username_0**: I've been reading around and see that a bitcore.js node can relay non-standard transactions. Is this wrong?  
> **username_2**: I don't know as I haven't used bitcore, but non-standard transactions are completely different from double spends. Double spends are not non-standard, they are invalid.  
> **username_3**: double-spends are not invalid  
> **username_4**: @username_3 well, they are, they violate consensus rules.  
> **username_5**: Double spends are only invalid inside a chain (the same output cannot be spent within one chain of blocks). The individual transactions, seen in isolation, are both valid, and preference for one or another is up to individual node's policy. Relaying double spends will not get you banned by the network, as it is not an unambiguous violation of the protocol. Submitting a transaction with an invalid signature for example is.  

---

### Answer by username_3 on 2017-06-26. Score: 0

The simplest way to do it - is broadcast the transaction to as many nodes, as possible. You can take my program for it <https://cloud.mail.ru/public/2rUa/zgcW6vf8g> and add more ip-addresses to .conf file


---

