mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 13:56:23 +00:00
5bfff43785
Currently there is a mix of comment formats in the various preset files. Altair presets have a leading header line, Phase0 presets don't. Furthermore, the Altair `minimal` header refers to `mainnet` (#2710). Updated all of the header lines to match the spec.
26 lines
771 B
Nim
26 lines
771 B
Nim
# Mainnet preset - Altair
|
|
# https://github.com/ethereum/consensus-specs/blob/v1.1.0-beta.5/presets/mainnet/altair.yaml
|
|
const
|
|
# Updated penalty values
|
|
# ---------------------------------------------------------------
|
|
# 3 * 2**24 (= 50,331,648)
|
|
INACTIVITY_PENALTY_QUOTIENT_ALTAIR*: uint64 = 50331648
|
|
# 2**6 (= 64)
|
|
MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR*: uint64 = 64
|
|
# 2
|
|
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR*: uint64 = 2
|
|
|
|
|
|
# Sync committee
|
|
# ---------------------------------------------------------------
|
|
# 2**9 (= 512)
|
|
SYNC_COMMITTEE_SIZE* = 512
|
|
# 2**8 (= 256)
|
|
EPOCHS_PER_SYNC_COMMITTEE_PERIOD*: uint64 = 256
|
|
|
|
|
|
# Sync protocol
|
|
# ---------------------------------------------------------------
|
|
# 1
|
|
MIN_SYNC_COMMITTEE_PARTICIPANTS* = 1
|