Merge pull request #2798 from etan-status/lc-constants-notes

Document light client constants
This commit is contained in:
Danny Ryan 2022-01-11 06:56:01 -07:00 committed by GitHub
commit 80c8de1642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -126,7 +126,7 @@ This patch updates a few configuration values to move penalty parameters closer
| Name | Value | Unit | Duration | | Name | Value | Unit | Duration |
| - | - | - | - | | - | - | - | - |
| `SYNC_COMMITTEE_SIZE` | `uint64(2**9)` (= 512) | Validators | | | `SYNC_COMMITTEE_SIZE` | `uint64(2**9)` (= 512) | validators | |
| `EPOCHS_PER_SYNC_COMMITTEE_PERIOD` | `uint64(2**8)` (= 256) | epochs | ~27 hours | | `EPOCHS_PER_SYNC_COMMITTEE_PERIOD` | `uint64(2**8)` (= 256) | epochs | ~27 hours |
## Configuration ## Configuration

View File

@ -42,17 +42,17 @@ uses sync committees introduced in [this beacon chain extension](./beacon-chain.
| Name | Value | | Name | Value |
| - | - | | - | - |
| `FINALIZED_ROOT_INDEX` | `get_generalized_index(BeaconState, 'finalized_checkpoint', 'root')` | | `FINALIZED_ROOT_INDEX` | `get_generalized_index(BeaconState, 'finalized_checkpoint', 'root')` (= 105) |
| `NEXT_SYNC_COMMITTEE_INDEX` | `get_generalized_index(BeaconState, 'next_sync_committee')` | | `NEXT_SYNC_COMMITTEE_INDEX` | `get_generalized_index(BeaconState, 'next_sync_committee')` (= 55) |
## Preset ## Preset
### Misc ### Misc
| Name | Value | Notes | | Name | Value | Unit | Duration |
| - | - | - | | - | - | - | - |
| `MIN_SYNC_COMMITTEE_PARTICIPANTS` | `1` | | | `MIN_SYNC_COMMITTEE_PARTICIPANTS` | `1` | validators |
| `UPDATE_TIMEOUT` | `SLOTS_PER_EPOCH * EPOCHS_PER_SYNC_COMMITTEE_PERIOD` | ~27.3 hours | | `UPDATE_TIMEOUT` | `SLOTS_PER_EPOCH * EPOCHS_PER_SYNC_COMMITTEE_PERIOD` | epochs | ~27.3 hours |
## Containers ## Containers