forex.pm forex forum binary options trade - Binance - Сryptocurrency exchanges - Why Don't Nodes Download Blocks off the network directly instead of sending various messages to other nodes?
  • Welcome to forex.pm forex forum binary options trade. Please login or sign up.
 

Why Don't Nodes Download Blocks off the network directly instead of sending various messages to other nodes?

Started by Bitcoin, May 01, 2022, 12:32 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bitcoin

Why Don't Nodes Download Blocks off the network directly instead of sending various messages to other nodes?

My understanding of updating a node's incomplete blockchain is that:


A node with an incomplete blockchain (let's say its been offline for some time) will send a getblocks message and then will receive an inv response with the latest 500 blocks from the most updated machine.


What I don't understand is that when you originally set up a full-node, it is downloading blocks from the network and adding them successively starting from the genesis block (which is encoded into the full-node's client software). So why can't it download the latest block from the network rather than sending many messages. <-- Or is this understanding blatantly wrong - that is, new full-nodes are not downloading blocks from the network.


Source: Why Don't Nodes Download Blocks off the network directly instead of sending various messages to other nodes?