Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Najska on December 24, 2014, 10:55:38 PM



Title: What does bitcoin network have to prevent this attack?
Post by: Najska on December 24, 2014, 10:55:38 PM
Hi,

What if someone double-spends a coin, but broadcasts one transaction to the half of the peers their client is connected and the other transaction to the other half? The ones who get the first transaction first will not relay the second transaction; on the other hand, there will be such nodes which receive the second (illegitimate) transaction first, and they will naturally invalidate the first (legit) transaction.

So, until the block which is to include one of the transactions is mined, there will be a discrepancy in nodes, which means that many nodes' banscore will increase. So, if someone consistently exercise the above-explained double-spend, many of the nodes will be isolated from the network.

Does the bitcoin network have a solution to this?


Title: Re: What does bitcoin network have to prevent this attack?
Post by: theymos on December 25, 2014, 12:18:59 AM
Sending a double-spending transaction doesn't affect a peer's ban score.


Title: Re: What does bitcoin network have to prevent this attack?
Post by: Najska on December 25, 2014, 08:20:29 AM
Oh, then there's no problem. OK, thank you!