lighthouse/beacon_node/client/src
Joel Rousseau 189430a45c
Add attestation simulator (#4880)
* basic scaffold

* remove unnecessary ?

* check if committee cache is init

* typed ValidatorMonitor with ethspecs + store attestations within

* nits

* process unaggregated attestation

* typo

* extract in func

* add tests

* better naming

* better naming 2

* less verbose

* use same naming as validator monitor

* use attestation_simulator

* add metrics

* remove cache

* refacto flag_indices process

* add lag

* remove copying state

* clean and lint

* extract metrics

* nits

* compare prom metrics in tests

* implement lag

* nits

* nits

* add attestation simulator service

* fmt

* return beacon_chain as arc

* nit: debug

* sed s/unaggregated/unagg.//

* fmt

* fmt

* nit: remove unused comments

* increase max unaggregated attestation hashmap to 64

* nit: sed s/clone/copied//

* improve perf: remove unecessary hashmap copy

* fix flag indices comp

* start service in client builder

* remove //

* cargo fmt

* lint

* cloned keys

* fmt

* use Slot value instead of pointer

* Update beacon_node/beacon_chain/src/attestation_simulator.rs

Co-authored-by: Paul Hauner <paul@paulhauner.com>

---------

Co-authored-by: Paul Hauner <paul@paulhauner.com>
2023-12-14 11:44:56 +11:00
..
address_change_broadcast.rs fix typos (#4838) 2023-10-19 22:05:15 +00:00
builder.rs Add attestation simulator (#4880) 2023-12-14 11:44:56 +11:00
config.rs Always use a separate database for blobs (#4892) 2023-11-09 16:51:36 +11:00
error.rs Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
lib.rs Add Experimental QUIC support (#4577) 2023-09-15 03:07:24 +00:00
metrics.rs Monitoring service api (#2251) 2021-05-26 05:58:41 +00:00
notifier.rs Add more checks and logging before genesis (#4730) 2023-09-21 00:26:53 +00:00