nimbus-eth2/beacon_chain/spec/presets/mainnet/bellatrix_preset.nim

24 lines
760 B
Nim
Raw Normal View History

# Mainnet preset - Bellatrix
# https://github.com/ethereum/consensus-specs/blob/v1.3.0-alpha.1/presets/mainnet/bellatrix.yaml
2021-11-05 16:49:03 +00:00
const
# Updated penalty values
# ---------------------------------------------------------------
# 2**24 (= 16,777,216)
INACTIVITY_PENALTY_QUOTIENT_BELLATRIX*: uint64 = 16777216
2021-11-05 16:49:03 +00:00
# 2**5 (= 32)
MIN_SLASHING_PENALTY_QUOTIENT_BELLATRIX*: uint64 = 32
2021-11-05 16:49:03 +00:00
# 3
PROPORTIONAL_SLASHING_MULTIPLIER_BELLATRIX*: uint64 = 3
2021-11-05 16:49:03 +00:00
# Execution
# ---------------------------------------------------------------
# 2**30 (= 1,073,741,824)
MAX_BYTES_PER_TRANSACTION* = 1073741824
# 2**20 (= 1,048,576)
MAX_TRANSACTIONS_PER_PAYLOAD* = 1048576
# 2**8 (= 256)
BYTES_PER_LOGS_BLOOM* = 256
# 2**5 (= 32)
MAX_EXTRA_DATA_BYTES* = 32