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