prysm-pulse/beacon-chain/sync/initial-sync
Preston Van Loon fcbb168c76
Code health: review map usage (#7635)
* remove unused cache states map

* correct typo

* Remove unused array

* Add lock around deposits cache chainstart pubkeys

* Copy attestation before grabbing lock. This may reduce lock contention time as other callers wanting the lock do not need to wait as long for the lock to become available.

* Copy attestation before grabbing lock. This may reduce lock contention time as other callers wanting the lock do not need to wait as long for the lock to become available.

* Set capacity to 1 since it is known that the slice will be 1 after insertion

* require validatorSlashingPreconditionCheck caller to hold lock

* Add lock for voluntary exits pool HasBeenIncluded

* Require rate limiter retrieveCollector to hold lock

* Add lock requirement assertions in sync

* Remove unused struct

* remove ClearCachedStates API

* field initSyncState is unused

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2020-10-26 21:17:07 +00:00
..
testing libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
blocks_fetcher_peers_test.go Init-sync: re-arrange tests (#7641) 2020-10-26 08:54:06 +00:00
blocks_fetcher_peers.go Refactor peer scorer into peerdata + scorers (#7452) 2020-10-07 13:08:51 +00:00
blocks_fetcher_test.go Init-sync: re-arrange tests (#7641) 2020-10-26 08:54:06 +00:00
blocks_fetcher_utils_test.go Init-sync: re-arrange tests (#7641) 2020-10-26 08:54:06 +00:00
blocks_fetcher_utils.go Add overflow check for StartSlot (#7149) 2020-09-02 02:52:36 +00:00
blocks_fetcher.go Update error usage patterns to go1.13+ (#7529) 2020-10-14 17:39:52 +00:00
blocks_queue_test.go Remove redundant err checking (#7488) 2020-10-09 23:39:23 +00:00
blocks_queue.go Update init-sync FSM (#7640) 2020-10-26 05:26:35 +00:00
BUILD.bazel Init-sync: re-arrange tests (#7641) 2020-10-26 08:54:06 +00:00
fsm_benchmark_test.go Applies assertion funcs to sync tests (#6603) 2020-07-15 04:41:11 +00:00
fsm_test.go Update init-sync FSM (#7640) 2020-10-26 05:26:35 +00:00
fsm.go Update init-sync FSM (#7640) 2020-10-26 05:26:35 +00:00
initial_sync_test.go More feature flags removal (#7526) 2020-10-14 16:18:40 +00:00
log.go First pass: single peer initial sync (#3363) 2019-08-30 15:15:40 -05:00
round_robin_test.go Register Subscribers After Node Is Synced (#7468) 2020-10-10 16:50:28 +08:00
round_robin.go Code health: review map usage (#7635) 2020-10-26 21:17:07 +00:00
service_test.go Register Subscribers After Node Is Synced (#7468) 2020-10-10 16:50:28 +08:00
service.go Code health: review map usage (#7635) 2020-10-26 21:17:07 +00:00