You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specs/altair/light-client/sync-protocol.md
+18-9Lines changed: 18 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
10
10
11
11
-[Introduction](#introduction)
12
+
-[Custom types](#custom-types)
12
13
-[Constants](#constants)
13
14
-[Preset](#preset)
14
15
-[Misc](#misc)
@@ -56,6 +57,14 @@ Additional documents describe how the light client sync protocol can be used:
56
57
-[Light client](./light-client.md)
57
58
-[Networking](./p2p-interface.md)
58
59
60
+
## Custom types
61
+
62
+
| Name | SSZ equivalent | Description |
63
+
| - | - | - |
64
+
|`FinalityBranch`|`Vector[Bytes32, floorlog2(FINALIZED_ROOT_GINDEX)]`| Merkle branch of `finalized_checkpoint.root` within `BeaconState`|
65
+
|`CurrentSyncCommitteeBranch`|`Vector[Bytes32, floorlog2(CURRENT_SYNC_COMMITTEE_GINDEX)]`| Merkle branch of `current_sync_committee` within `BeaconState`|
66
+
|`NextSyncCommitteeBranch`|`Vector[Bytes32, floorlog2(NEXT_SYNC_COMMITTEE_GINDEX)]`| Merkle branch of `next_sync_committee` within `BeaconState`|
67
+
59
68
## Constants
60
69
61
70
| Name | Value |
@@ -93,7 +102,7 @@ class LightClientBootstrap(Container):
93
102
header: LightClientHeader
94
103
# Current sync committee corresponding to `header.beacon.state_root`
0 commit comments