prysm-pulse/beacon-chain/operations/attestations
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
..
kv Code health: review map usage (#7635) 2020-10-26 21:17:07 +00:00
BUILD.bazel Replace Roughtime With Timeutils Across Prysm (#7301) 2020-09-22 19:49:58 +08:00
log.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
metrics.go Better attestation pool with map instead of expiration cache (#5087) 2020-03-13 12:35:28 -05:00
pool_test.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
pool.go Removes attestation pool pruning from UnaggregatedAttestations getter (#7204) 2020-09-10 18:35:57 +00:00
prepare_forkchoice_test.go Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
prepare_forkchoice.go Remove redundant err checking (#7488) 2020-10-09 23:39:23 +00:00
prune_expired_test.go Replace Roughtime With Timeutils Across Prysm (#7301) 2020-09-22 19:49:58 +08:00
prune_expired.go Replace Roughtime With Timeutils Across Prysm (#7301) 2020-09-22 19:49:58 +08:00
service_test.go Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
service.go Refactors attestation pool pruning (#6485) 2020-07-03 09:43:56 -07:00