prysm-pulse/validator/client
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
..
aggregate_test.go Remove Accounts-V1 (#7532) 2020-10-14 22:20:20 +00:00
aggregate.go Reduce no attestation in pool to warn (#7863) 2020-11-20 12:17:26 -08:00
attest_protect_test.go Improve Slashing Protection for V1, More Tests and Observability (#7934) 2020-11-23 19:03:04 -06:00
attest_protect.go 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
attest_test.go Use new attestation protection (#7605) 2020-11-10 14:14:11 +00:00
attest.go 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
BUILD.bazel Refactor HD Wallets for Enhanced Security (#7821) 2020-11-16 22:26:04 +00:00
log.go Revert Stream Duties (#6473) 2020-07-02 17:50:05 +00:00
metrics_test.go Moves AssertLogsContains to assertions package (#6985) 2020-08-13 16:22:25 +00:00
metrics.go 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
mock_validator.go 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
multiple_endpoints_grpc_resolver.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
propose_protect_test.go Use new proposal protection format (#7518) 2020-10-15 19:35:31 +00:00
propose_protect.go Improve Slashing Protection for V1, More Tests and Observability (#7934) 2020-11-23 19:03:04 -06:00
propose_test.go Use new attestation protection (#7605) 2020-11-10 14:14:11 +00:00
propose.go Improve Slashing Protection for V1, More Tests and Observability (#7934) 2020-11-23 19:03:04 -06:00
runner_test.go Remove WaitForSynced (#7835) 2020-11-16 20:48:16 -06:00
runner.go 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
service_test.go Use t.TempDir() in tests (#7769) 2020-11-10 22:45:17 +00:00
service.go Make grpc-headers flag work (#7932) 2020-11-23 20:38:32 +00:00
validator_test.go 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
validator.go 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