prysm-pulse/validator/db
Shay Zluf 0cf9800b75
Fix locks and fallback to db read if attestation history map is missing a pub key data (#7937)
* minimal change to handle nil attesterHistoryByPubKey

* Revert "Always Update Attesting History If Not Slashable (#7935)"

This reverts commit 3cc2ebc5d5.

* remove unused functions

* move save before propose

* wait before go func

* move wait into the go routine

* handling map mutation

* remove map handling in this case

* log in case it is still not found

* fix log

* fix locks

* Update validator/client/attest_protect.go

* remove code duplication

* remove method extraction

* move metrics to their appropriate place

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2020-11-24 11:24:23 -06:00
..
iface Verify GenesisValidatorRoot Matches the One in DB on Slashing Protection Import (#7864) 2020-11-20 22:33:51 +00:00
kv Fix locks and fallback to db read if attestation history map is missing a pub key data (#7937) 2020-11-24 11:24:23 -06:00
testing Use t.TempDir() in tests (#7769) 2020-11-10 22:45:17 +00:00
alias.go Audit best practice feedback - validator DB test folder (#6426) 2020-06-26 21:37:43 -05:00
BUILD.bazel Audit best practice feedback - validator DB test folder (#6426) 2020-06-26 21:37:43 -05:00