Arrange constants and configurations

This commit is contained in:
Hsiao-Wei Wang 2021-01-06 01:11:46 +08:00
parent 39d3a18d48
commit 53ad66a4e8
No known key found for this signature in database
GPG Key ID: 1111A8A81778319E
1 changed files with 2 additions and 8 deletions

View File

@ -12,7 +12,6 @@
- [Participation rewards](#participation-rewards) - [Participation rewards](#participation-rewards)
- [Misc](#misc) - [Misc](#misc)
- [Configuration](#configuration) - [Configuration](#configuration)
- [Constants](#constants-1)
- [Misc](#misc-1) - [Misc](#misc-1)
- [Time parameters](#time-parameters) - [Time parameters](#time-parameters)
- [Domain types](#domain-types) - [Domain types](#domain-types)
@ -79,16 +78,11 @@ The reward fractions add up to 7/8, leaving the remaining 1/8 for proposer rewar
| - | - | | - | - |
| `PARTICIPATION_FLAGS_LENGTH` | `8` | | `PARTICIPATION_FLAGS_LENGTH` | `8` |
| `FLAGS_AND_NUMERATORS` | `((TIMELY_HEAD_FLAG, TIMELY_HEAD_NUMERATOR), (TIMELY_SOURCE_FLAG, TIMELY_SOURCE_NUMERATOR), (TIMELY_TARGET_FLAG, TIMELY_TARGET_NUMERATOR))` | | `FLAGS_AND_NUMERATORS` | `((TIMELY_HEAD_FLAG, TIMELY_HEAD_NUMERATOR), (TIMELY_SOURCE_FLAG, TIMELY_SOURCE_NUMERATOR), (TIMELY_TARGET_FLAG, TIMELY_TARGET_NUMERATOR))` |
## Configuration
### Constants
| Name | Value |
| - | - |
| `G2_POINT_AT_INFINITY` | `BLSSignature(b'\xc0' + b'\x00' * 95)` | | `G2_POINT_AT_INFINITY` | `BLSSignature(b'\xc0' + b'\x00' * 95)` |
| `GWEI_PER_ETH` | `10**9` | | `GWEI_PER_ETH` | `10**9` |
## Configuration
### Misc ### Misc
| Name | Value | | Name | Value |