mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Delete beacon/params directory
This commit is contained in:
parent
4686f8bbc4
commit
6a494c097a
1 changed files with 0 additions and 44 deletions
|
|
@ -1,44 +0,0 @@
|
||||||
// Copyright 2022 The go-ethereum Authors
|
|
||||||
// This file is part of the go-ethereum library.
|
|
||||||
//
|
|
||||||
// The go-ethereum library is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Lesser General Public License as published by
|
|
||||||
// the Free Software Foundation, either version 3 of the License, or
|
|
||||||
// (at your option) any later version.
|
|
||||||
//
|
|
||||||
// The go-ethereum library is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public License
|
|
||||||
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
package params
|
|
||||||
|
|
||||||
const (
|
|
||||||
EpochLength = 32
|
|
||||||
SyncPeriodLength = 8192
|
|
||||||
|
|
||||||
BLSSignatureSize = 96
|
|
||||||
BLSPubkeySize = 48
|
|
||||||
|
|
||||||
SyncCommitteeSize = 512
|
|
||||||
SyncCommitteeBitmaskSize = SyncCommitteeSize / 8
|
|
||||||
SyncCommitteeSupermajority = (SyncCommitteeSize*2 + 2) / 3
|
|
||||||
)
|
|
||||||
|
|
||||||
const (
|
|
||||||
StateIndexGenesisTime = 32
|
|
||||||
StateIndexGenesisValidators = 33
|
|
||||||
StateIndexForkVersion = 141
|
|
||||||
StateIndexLatestHeader = 36
|
|
||||||
StateIndexBlockRoots = 37
|
|
||||||
StateIndexStateRoots = 38
|
|
||||||
StateIndexHistoricRoots = 39
|
|
||||||
StateIndexFinalBlock = 105
|
|
||||||
StateIndexSyncCommittee = 54
|
|
||||||
StateIndexNextSyncCommittee = 55
|
|
||||||
StateIndexExecPayload = 56
|
|
||||||
StateIndexExecHead = 908
|
|
||||||
)
|
|
||||||
Loading…
Reference in a new issue