Author

Topic: What will happen if i broadcast too many double spend trasnactions ? (Read 404 times)

legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
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.
member
Activity: 149
Merit: 22
🔴🔵 FoxMixer.com 🔵🔴
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...
sr. member
Activity: 434
Merit: 270
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. ?

legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
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.
sr. member
Activity: 434
Merit: 270
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
Jump to: