How is a transaction broadcasted?

How is a transaction broadcasted?

Let's say UserA uses electrum, connected to ServerB, and hits the "Send" button to do a transaction.

What happens?

  1. The transaction is sent to ServerB only

or

  1. The transaction is sent from UserA to ServerB but also to 2 (or 10 or 100?) other servers (UserA's electrum has a list of 100 servers to connect, one after another, when he does a transaction)

or

  1. The transaction is sent from UserA to ServerB only, but ServerB broadcasts it immediately to 2 (or 10 or 100?) other servers

Especially if ServerB is late of 1 or 2 blocks from the rest of the network, what happens? Is the transaction lost? Broadcasted anyway?

Where are these rules specified in the official implementation?

http://ift.tt/2zD7nXF

Comments

Popular posts from this blog

Antminer D3 Blissz Modified Firmware For Improved Performance

ETH To The Moon / Bank of England Cryptocurrency? / BTC Dominance / More (The Crypt0 Minute)