Bayram Guvanjov
|
a2f375c0b1
|
Add blocksByRange & blocksByRoot P2P rpc handlers (#8885)
This PR is ready to review.
PR introduces `blocksByRange` and `blocksByRoot` P2P RPC methods
- `blocksByRange` - allows peers to request a range of blocks
- `blocksByRoot` - enables block requests using their root hashes(list
format)
Reference:
https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md#beaconblocksbyrange
|
2023-12-23 14:32:00 +01:00 |
|