nimbus-eth2/beacon_chain/validator_client
Jacek Sieka 83f9745df1
restore doppelganger check on connectivity loss (#4616)
* restore doppelganger check on connectivity loss

https://github.com/status-im/nimbus-eth2/pull/4398 introduced a
regression in functionality where doppelganger detection would not be
rerun during connectivity loss. This PR reintroduces this check and
makes some adjustments to the implementation to simplify the code flow
for both BN and VC.

* track when check was last performed for each validator (to deal with
late-added validators)
* track when we performed a doppel-detectable activity (attesting) so as
to avoid false positives
* remove nodeStart special case (this should be treated the same as
adding a validator dynamically just after startup)

* allow sync committee duties in doppelganger period

* don't trigger doppelganger when registering duties

* fix crash when expected index response is missing

* fix missing slashingSafe propagation
2023-02-20 13:28:56 +02:00
..
api.nim VC: Fix getBlockRoot() response with execution_optimistic. (#4622) 2023-02-15 15:09:31 +01:00
attestation_service.nim restore doppelganger check on connectivity loss (#4616) 2023-02-20 13:28:56 +02:00
block_service.nim unify bn/vc doppelganger detection (#4398) 2022-12-09 17:05:55 +01:00
common.nim restore doppelganger check on connectivity loss (#4616) 2023-02-20 13:28:56 +02:00
doppelganger_service.nim restore doppelganger check on connectivity loss (#4616) 2023-02-20 13:28:56 +02:00
duties_service.nim restore doppelganger check on connectivity loss (#4616) 2023-02-20 13:28:56 +02:00
fallback_service.nim implement more missing capella functionality (#4344) 2022-11-24 09:53:04 +02:00
fork_service.nim VC: roles & strategies. (#4113) 2022-09-29 09:57:14 +02:00
sync_committee_service.nim restore doppelganger check on connectivity loss (#4616) 2023-02-20 13:28:56 +02:00