mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
4326cbbf08
* Remove old buckets, rename new buckets to be canonical * Add migration and test * Do the migrations * Gazelle * Clearify code, code review * gofmt
26 lines
939 B
Go
26 lines
939 B
Go
package kv
|
|
|
|
var (
|
|
// Genesis information bucket key.
|
|
genesisInfoBucket = []byte("genesis-info-bucket")
|
|
|
|
// Validator slashing protection from double proposals.
|
|
historicProposalsBucket = []byte("proposal-history-bucket-interchange")
|
|
// New Validator slashing protection from slashable attestations.
|
|
historicAttestationsBucket = []byte("attestation-history-bucket-interchange")
|
|
|
|
// Buckets for lowest signed source and target epoch for individual validator.
|
|
lowestSignedSourceBucket = []byte("lowest-signed-source-bucket")
|
|
lowestSignedTargetBucket = []byte("lowest-signed-target-bucket")
|
|
|
|
// Lowest and highest signed proposals.
|
|
lowestSignedProposalsBucket = []byte("lowest-signed-proposals-bucket")
|
|
highestSignedProposalsBucket = []byte("highest-signed-proposals-bucket")
|
|
|
|
// Genesis validators root bucket key.
|
|
genesisValidatorsRootKey = []byte("genesis-val-root")
|
|
|
|
// Migrations
|
|
migrationsBucket = []byte("migrations")
|
|
)
|