nimbus-eth2/beacon_chain/fork_choice
Jacek Sieka f77548310f
avoid quadratic attestation queue iteration (#5288)
every attestation is processed with a new wall time so we end up
iterating over all attestations for every attestation we queue - this is
4% of cpu time on a subscribe-all-subnets node

* remove redundant zero checks - block root must be an existing block
and therefore cannot be zero
* simplify "hasn't-voted" check to root only (isZeroMemory is dubiously
implemented for objects)
2023-08-14 16:48:30 +03:00
..
README.md cleanup FC spec refs and align closer (#4893) 2023-05-05 17:03:54 +00:00
fork_choice.nim avoid quadratic attestation queue iteration (#5288) 2023-08-14 16:48:30 +03:00
fork_choice_types.nim cleanup FC spec refs and align closer (#4893) 2023-05-05 17:03:54 +00:00
proto_array.nim automated consensus spec URL updating to v1.4.0-beta.1 (#5280) 2023-08-09 03:58:47 +00:00