Get Blocks

The get block flow is used to download batches of blocks from a peer.

Flow

The initiating peer needs a list of block IDs that the receiving peer has, this can be done with the chain sync flow.

With a list a block IDs the initiating peer will send a get objects request message, the receiving peer will then respond with get objects response.

Request Checks

  • The amount of blocks must be less than 100.1