Update sync_protocol.md

This commit is contained in:
terence tsao 2019-09-05 06:55:40 -07:00 committed by GitHub
parent f1065faf9c
commit 1e74cf5f0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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