Bitcoin Forum
December 16, 2017, 05:52:14 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: What will happen if i broadcast too many double spend trasnactions ?  (Read 299 times)
btctousd81
Sr. Member
****
Offline Offline

Activity: 266


View Profile WWW
July 31, 2017, 11:39:35 AM
 #1

i am working one tx broadcast service.

what will happen if i keep on broadcasting double spend transactions ?

will my node get banned from bitcoin network ? or something else ?

thanks

1513403534
Hero Member
*
Offline Offline

Posts: 1513403534

View Profile Personal Message (Offline)

Ignore
1513403534
Reply with quote  #2

1513403534
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
ranochigo
Legendary
*
Offline Offline

Activity: 1288


View Profile WWW
July 31, 2017, 12:49:36 PM
 #2

Technically, yes, if your nodes have a conflicting transaction. If you broadcast too many invalid transactions/nodes to a few nodes, they will note that you are a misbehaving peer and will disconnect you. However, you won't be banned from the entire network, just a few nodes.

If you are working on a transaction broadcasting service, you should implement checks to see if the transaction is valid and no other conflicting transaction is in your mempool.














 

 

█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
BitBlender 

 













 















 












 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
btctousd81
Sr. Member
****
Offline Offline

Activity: 266


View Profile WWW
July 31, 2017, 01:29:21 PM
 #3

Technically, yes, if your nodes have a conflicting transaction. If you broadcast too many invalid transactions/nodes to a few nodes, they will note that you are a misbehaving peer and will disconnect you. However, you won't be banned from the entire network, just a few nodes.

If you are working on a transaction broadcasting service, you should implement checks to see if the transaction is valid and no other conflicting transaction is in your mempool.

okie., will do that.

so there is no global node ban list ? something like that ?

how can i check if the tx_hex is valid ?

i guess by decoding hex and checking the inputs and outputs. ?


Casy
Member
**
Offline Offline

Activity: 116

🔴🔵 FoxMixer.com 🔵🔴


View Profile WWW
July 31, 2017, 02:08:30 PM
 #4

Technically, yes, if your nodes have a conflicting transaction. If you broadcast too many invalid transactions/nodes to a few nodes, they will note that you are a misbehaving peer and will disconnect you. However, you won't be banned from the entire network, just a few nodes.

If you are working on a transaction broadcasting service, you should implement checks to see if the transaction is valid and no other conflicting transaction is in your mempool.

okie., will do that.

so there is no global node ban list ? something like that ?

how can i check if the tx_hex is valid ?

i guess by decoding hex and checking the inputs and outputs. ?



As far as I know, there is no global list.

You can check validity by decoding it, as you mentioned, and then compare it to what you have in the mempool. If the inputs were already spent in your mempool, then there's something fishy going on...

ranochigo
Legendary
*
Offline Offline

Activity: 1288


View Profile WWW
July 31, 2017, 02:13:31 PM
 #5

so there is no global node ban list ? something like that ?
No, neither will it ever exist. Reason being this would just destroy the trustless nature of Bitcoin.
how can i check if the tx_hex is valid ?

i guess by decoding hex and checking the inputs and outputs. ?
Yes. If the inputs are unspent in your UXTO set and it has valid signature, follows protocol rules, it will be valid for the reference clients. Usually, the full nodes will does it automatically before relaying a transaction.














 

 

█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
BitBlender 

 













 















 












 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!