-1

Sorry that this question might be weird since I'm a beginner in blockchain tech.

As I know, to download block data, a node first sends getblocks to its peer node, and the peer node send upto 500 block hashes which would be used for getdata message and get actual data of blocks.

In this stage, how can the node ensure that the respond from the peer node(upto 500 block hashes) is indeed correct; the block hashes are in the main chain?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.