eth2.0-specs/specs/phase0
Jacek Sieka 0e6a7cd39a
deprecate `BeaconBlocksByRange.step` (#2856)
* deprecate `BeaconBlocksByRange.step`

The `step` parameter has not seen much implementation in real life
clients which instead opt to request variations on a few epochs at a
time (instead of interleaving single blocks, entire epochs are
interleaved).

At the same time, supporting `step` on the server side brings several
complications: more complex bounds checking logic, more complex loading
of blocks from linear storage (which presumably stores all blocks and
not just certain increments).

This PR suggests that we deprecate the whole idea. Backwards
compatibility is kept by simply responding with a single block when
`step > 0` - this is allowed by the spec and should thus be handled
gracefully by requesting clients already, should there exist any that
use larger step counts.

Removing `step` now allows simplifying the EL-CL protocol for serving
execution data from the EL to avoid double storage.

* Update specs/phase0/p2p-interface.md

Co-authored-by: Danny Ryan <dannyjryan@gmail.com>

Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2022-05-20 13:18:24 -06:00
..
beacon-chain.md use python syntax for bitwise AND operation (#2894) 2022-05-17 07:14:19 -06:00
deposit-contract.md minor fix 2021-12-23 17:32:15 +08:00
fork-choice.md Update PROPOSER_SCORE_BOOST to 40 percent (#2895) 2022-05-20 13:15:40 -06:00
p2p-interface.md deprecate `BeaconBlocksByRange.step` (#2856) 2022-05-20 13:18:24 -06:00
validator.md Run on_tick before picking the head for proposal (#2897) 2022-05-19 07:56:49 -06:00
weak-subjectivity.md rename eth1 and eth2 throughout specs and readme where reasonable 2021-08-18 17:13:24 -06:00