2021-12-13 09:16:23 +00:00
|
|
|
// +build !minimal
|
|
|
|
|
|
|
|
package field_params
|
|
|
|
|
|
|
|
const (
|
2022-02-02 19:13:52 +00:00
|
|
|
Preset = "mainnet"
|
2021-12-13 09:16:23 +00:00
|
|
|
BlockRootsLength = 8192 // SLOTS_PER_HISTORICAL_ROOT
|
|
|
|
StateRootsLength = 8192 // SLOTS_PER_HISTORICAL_ROOT
|
|
|
|
RandaoMixesLength = 65536 // EPOCHS_PER_HISTORICAL_VECTOR
|
|
|
|
HistoricalRootsLength = 16777216 // HISTORICAL_ROOTS_LIMIT
|
|
|
|
ValidatorRegistryLimit = 1099511627776 // VALIDATOR_REGISTRY_LIMIT
|
|
|
|
Eth1DataVotesLength = 2048 // SLOTS_PER_ETH1_VOTING_PERIOD
|
|
|
|
PreviousEpochAttestationsLength = 4096 // MAX_ATTESTATIONS * SLOTS_PER_EPOCH
|
|
|
|
CurrentEpochAttestationsLength = 4096 // MAX_ATTESTATIONS * SLOTS_PER_EPOCH
|
|
|
|
SlashingsLength = 8192 // EPOCHS_PER_SLASHINGS_VECTOR
|
|
|
|
SyncCommitteeLength = 512 // SYNC_COMMITTEE_SIZE
|
2021-12-15 20:14:30 +00:00
|
|
|
RootLength = 32 // RootLength defines the byte length of a Merkle root.
|
|
|
|
BLSSignatureLength = 96 // BLSSignatureLength defines the byte length of a BLSSignature.
|
2022-01-06 17:33:08 +00:00
|
|
|
BLSPubkeyLength = 48 // BLSPubkeyLength defines the byte length of a BLSSignature.
|
2022-01-05 18:36:39 +00:00
|
|
|
MaxTxsPerPayloadLength = 1048576 // MaxTxsPerPayloadLength defines the maximum number of transactions that can be included in a payload.
|
|
|
|
MaxBytesPerTxLength = 1073741824 // MaxBytesPerTxLength defines the maximum number of bytes that can be included in a transaction.
|
2021-12-22 15:52:50 +00:00
|
|
|
FeeRecipientLength = 20 // FeeRecipientLength defines the byte length of a fee recipient.
|
|
|
|
LogsBloomLength = 256 // LogsBloomLength defines the byte length of a logs bloom.
|
2021-12-13 09:16:23 +00:00
|
|
|
)
|