Bitcoin Forum
May 21, 2024, 08:30:21 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What does bitcoin network have to prevent this attack?  (Read 879 times)
Najska (OP)
Full Member
***
Offline Offline

Activity: 152
Merit: 100


View Profile
December 24, 2014, 10:55:38 PM
 #1

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?

theymos
Administrator
Legendary
*
Offline Offline

Activity: 5208
Merit: 12998


View Profile
December 25, 2014, 12:18:59 AM
 #2

Sending a double-spending transaction doesn't affect a peer's ban score.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Najska (OP)
Full Member
***
Offline Offline

Activity: 152
Merit: 100


View Profile
December 25, 2014, 08:20:29 AM
 #3

Oh, then there's no problem. OK, thank you!

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!