Let's say UserA uses electrum
, connected to ServerB, and hits the "Send" button to do a transaction.
What happens?
- The transaction is sent to ServerB only
or
- 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
- 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?