forex.pm forex forum binary options trade

 Сryptocurrency exchanges => Binance - Сryptocurrency exchanges => Topic started by: Bitcoin on May 01, 2022, 12:32 pm

Title: Why Don't Nodes Download Blocks off the network directly instead of sending various messages to other nodes?
Post by: Bitcoin on May 01, 2022, 12:32 pm
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? (https://bitcoin.stackexchange.com/questions/113532/why-dont-nodes-download-blocks-off-the-network-directly-instead-of-sending-vari)