eth2.0-specs/specs/altair/light-client
Etan Kissling 8bf801ecc6
Add `block_to_light_client_header` helper
Introduce `block_to_light_client_header` helper function to enable
future forks to override it with additional info (e.g., execution),
without having to change the general light client logic.

Likewise, update existing light client data creation flow to use
`block_to_light_client_header` and default-initialize empty fields.

Furthermore, generalize `create_update` helper to streamline test code
using `block_to_light_client_header`.

Note: In Altair spec, LC header is the same as `BeaconBlockHeader`.
however; future forks will extend it with more information.
2022-12-06 17:44:41 +01:00
..
full-node.md Add `block_to_light_client_header` helper 2022-12-06 17:44:41 +01:00
light-client.md Remove newlines between items for visual consistency 2022-07-22 17:46:07 +02:00
p2p-interface.md Merge branch 'dev' into lc-blockfuncs 2022-11-19 12:20:18 +01:00
sync-protocol.md Clarify where LC proofs are rooted 2022-10-27 21:44:38 +02:00