mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
7b5f71229e
* Update attestation with new marshal unmarshal * Add db methods to handle new slashing protection schema * lint * add tests * goimports * Apply suggestions from code review Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com> * const fix * fix ineffectual assignments * goimports * fix import issue * victor feedback fixes * victor feedback fixes * receiver methods * receiver methods * Update validator/db/kv/attestation_history_new.go Co-authored-by: Victor Farazdagi <simple.square@gmail.com> * Update validator/db/kv/attestation_history_new.go Co-authored-by: Victor Farazdagi <simple.square@gmail.com> * Update validator/db/kv/attestation_history_new.go Co-authored-by: Victor Farazdagi <simple.square@gmail.com> * Update validator/db/kv/attestation_history_new.go Co-authored-by: Victor Farazdagi <simple.square@gmail.com> * Update validator/db/kv/attestation_history_new_test.go * type change Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com> Co-authored-by: Victor Farazdagi <simple.square@gmail.com>
13 lines
542 B
Go
13 lines
542 B
Go
package kv
|
|
|
|
var (
|
|
// 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-new")
|
|
)
|