Modules§
Constants§
- BLOCK_
ROOT_ AT_ INDEX_ DEPTH - The index of the block_roots field in the beacon state tree.
- DOMAIN_
SYNC_ COMMITTEE - DomainType(‘0x07000000’) https://github.com/ethereum/consensus-specs/blob/dev/specs/altair/beacon-chain.md#domain-types
- EPOCHS_
PER_ SYNC_ COMMITTEE_ PERIOD - 256 epochs in a sync committee period. Frequency of sync committee (subset of Ethereum validators) change is every ~27 hours.
- MAX_
BRANCH_ PROOF_ SIZE - Sanity value to constrain the max size of a merkle branch proof.
- MAX_
EXTRA_ DATA_ BYTES - Sizes related to SSZ encoding
- MAX_
FEE_ RECIPIENT_ SIZE - MAX_
LOGS_ BLOOM_ SIZE - PUBKEY_
SIZE - Validators public keys are 48 bytes.
- SIGNATURE_
SIZE - Signatures produced by validators are 96 bytes.
- SLOTS_
PER_ EPOCH - Defined in https://github.com/ethereum/consensus-specs/tree/f1dff5f6768608d890fc0b347e548297fc3e1f1c/presets/mainnet There are 32 slots in an epoch. An epoch is 6.4 minutes long.
- SLOTS_
PER_ HISTORICAL_ ROOT - The size of the block root array in the beacon state, used for ancestry proofs.
- SYNC_
COMMITTEE_ BITS_ SIZE - An array of sync committee block votes, one bit representing the vote of one validator.
- SYNC_
COMMITTEE_ SIZE - A sync committee contains 512 randomly selected validators.