0

On Bitcoin's Blockchain, how is information transmitted instantly to all other nodes and do nodes 'talk to each other' through an API?

Do Blockchain nodes communicate with each other through HTTP requests? If yes, do they use a Pub/Sub to transmit information to all the nodes? Or is there a delay until the full blockchain information reaches all nodes?

1

On Bitcoin's Blockchain, how is information transmitted instantly to all other nodes and do nodes 'talk to each other' through an API?

Information is not instantly transmitted. It takes time, nothing is instant.

The Bitcoin network has a network protocol which nodes using it speak. This network protocol allows a node to send and receive data to and from a node that it is connected to. A node will connect to multiple other nodes on the network.

This network protocol uses TCP connections and Bitcoin specific network messages.

Do Blockchain nodes communicate with each other through HTTP requests?

No. That would be inefficient.

Or is there a delay until the full blockchain information reaches all nodes?

Of course there is a delay, the speed of light is only so fast. Data takes time to transmit due to the capabilities of physical connections and the distances that information has to travel. There is always a latency due to physics. Furthermore, Bitcoin nodes will have random delays between each of their announcements of transactions in order to better preserve privacy.

  • Thanks for clarification. It makes more sense now! I wasn't aware at all of Bitcoin's communication protocol but I do understand it now. – Sophie259 Dec 31 '18 at 3:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.