<p>No, spending an already spent output is not a DoS banning offense. Sending invalid transactions will however get you banned from your peers. </p>

CC BY-SA 3.0
2014-06-26T10:55:40.173Z
2014-06-26T10:55:40.173Z
user13413
<p>Your current peers can ban (for some time, not forever) your IP-address.
Just connect to other nodes in case.
The network itself can not do anything with you because there is no such thing in protocol.
Your peers do not know - are you a double-spender or you just relaying somebody's else packets.</p>

<p>(Sorry, my English is also very poor)</p>

CC BY-SA 3.0
2014-06-26T07:20:39.110Z
2014-06-26T07:20:39.110Z
amaclin
<p>I'm playing with raw transactions. It's easy to send two signed valid transactions at the same time from the same output to different addresses (making a double-spend attack). My doubt is: if I make tests like this, will the bitcoin p2p network will flag my node / IP as "bad" or I can do it normally without any consequences? Of course I am not attacking anyone else, I want to make tests with my wallets / system to see the behavior.</p>

CC BY-SA 3.0
2014-06-26T11:34:43.420Z
If you want to test things without fear of *real* consequences, you can use the [testnet](https://en.bitcoin.it/wiki/Testnet).
Tim S.
CC BY-SA 3.0
2014-06-26T12:04:44.050Z
Tip: also have a look at https://github.com/petertodd/replace-by-fee-tools
Jannes
<transactions><doublespend><raw-transaction><banscore>
Double spend transactions flag the node as "bad"?
Felipe
# Double spend transactions flag the node as "bad"?

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

I'm playing with raw transactions. It's easy to send two signed valid transactions at the same time from the same output to different addresses (making a double-spend attack). My doubt is: if I make tests like this, will the bitcoin p2p network will flag my node / IP as "bad" or I can do it normally without any consequences? Of course I am not attacking anyone else, I want to make tests with my wallets / system to see the behavior.

**Tags:** transactions, doublespend, raw-transaction, banscore

> **Comments:**
> **username_1**: If you want to test things without fear of *real* consequences, you can use the [testnet](https://en.bitcoin.it/wiki/Testnet).  
> **username_2**: Tip: also have a look at https://github.com/petertodd/replace-by-fee-tools  

---

## 2 answers

### Answer by username_3 on 2014-06-26. Score: 3 | Accepted answer

No, spending an already spent output is not a DoS banning offense. Sending invalid transactions will however get you banned from your peers.


---

### Answer by username_4 on 2014-06-26. Score: 4

Your current peers can ban (for some time, not forever) your IP-address.
Just connect to other nodes in case.
The network itself can not do anything with you because there is no such thing in protocol.
Your peers do not know - are you a double-spender or you just relaying somebody's else packets.

(Sorry, my English is also very poor)


---

