prysm-pulse/validator/db/kv/schema.go
Ivan Martinez 4dc65c5787
Save GenesisValidatorsRoot from WaitForChainStart (#7855)
* Add GenValRoot dbs

* Test genvalroot

* Fix names

* Add overwrite rejection

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2020-11-20 18:06:12 +00:00

18 lines
726 B
Go

package kv
var (
// Genesis information bucket key.
genesisInfoBucket = []byte("genesis-info-bucket")
// Genesis validators root key.
genesisValidatorsRootKey = []byte("genesis-val-root")
// Validator slashing protection from double proposals.
historicProposalsBucket = []byte("proposal-history-bucket")
// Validator slashing protection from double proposals.
newhistoricProposalsBucket = []byte("proposal-history-bucket-interchange")
// Validator slashing protection from slashable attestations.
historicAttestationsBucket = []byte("attestation-history-bucket")
// New Validator slashing protection from slashable attestations.
newHistoricAttestationsBucket = []byte("attestation-history-bucket-interchange")
)