Update sync_protocol.md
This commit is contained in:
parent
f1065faf9c
commit
1e74cf5f0d
|
@ -13,8 +13,8 @@
|
||||||
- [Constants](#constants)
|
- [Constants](#constants)
|
||||||
- [Containers](#containers)
|
- [Containers](#containers)
|
||||||
- [`LightClientUpdate`](#lightclientupdate)
|
- [`LightClientUpdate`](#lightclientupdate)
|
||||||
- [`LightClientMemory`](#lightclientmemory)
|
|
||||||
- [Helpers](#helpers)
|
- [Helpers](#helpers)
|
||||||
|
- [`LightClientMemory`](#lightclientmemory)
|
||||||
- [`get_persistent_committee_pubkeys_and_balances`](#get_persistent_committee_pubkeys_and_balances)
|
- [`get_persistent_committee_pubkeys_and_balances`](#get_persistent_committee_pubkeys_and_balances)
|
||||||
- [Light client state updates](#light-client-state-updates)
|
- [Light client state updates](#light-client-state-updates)
|
||||||
- [Data overhead](#data-overhead)
|
- [Data overhead](#data-overhead)
|
||||||
|
@ -66,8 +66,8 @@ class LightClientUpdate(container):
|
||||||
### `LightClientMemory`
|
### `LightClientMemory`
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
@dataclass
|
||||||
class LightClientMemory(object):
|
class LightClientMemory(object):
|
||||||
@dataclass
|
|
||||||
shard: Shard # Randomly initialized and retained forever
|
shard: Shard # Randomly initialized and retained forever
|
||||||
header: BeaconBlockHeader # Beacon header which is not expected to revert
|
header: BeaconBlockHeader # Beacon header which is not expected to revert
|
||||||
# Persistent committees corresponding to the beacon header
|
# Persistent committees corresponding to the beacon header
|
||||||
|
|
Loading…
Reference in New Issue