5
2
I am trying to understand Bitcoin at a more fundamental level. I'd like to know how a new transaction enters and propagates across the network? I've read many Bob and Alice type scenarios where it's said that "the transaction is broadcast to the network". If there are many nodes on the Bitcoin network, how does the wallet know which node to initially broadcast the transaction to?
EDIT
Just for clarification, I'm referring to the process of sending from the client wallet (e.g. Mycelium on Android) to Node 1, before it gets propagated to all other nodes. How does my wallet know which node to send to first, or does it just randomly pick one?
The type of structure is known as a "gossip network". Where nodes in network try to know as much as possible. – John T – 2014-02-12T21:46:57.603
You mention it can know about a transaction "from a peer or of it's own creation", but what is meant by "of it's own creation"? I initiate a transaction from my Android wallet, how does that reach the first node? The node itself isn't creating the transaction? thanks! – QFDev – 2014-02-12T21:48:49.263
I'm not sure how the android wallet works, but it's probably different to the normal network topography. In the case of other lite clients (see,
spv clienton the wiki), it will announce to normal peers on the network and ignore everything else going on. It's a bit different to how normal nodes work. – user13413 – 2014-02-12T22:53:11.870