nimbus-eth2/beacon_chain/validators
Jacek Sieka 49729e1ef3
prevent concurrent `storeBlock` calls (fixes #5285) (#5295)
When a block is introduced to the system both via REST and gossip at the
same time, we will call `storeBlock` from two locations leading to a
dupliace check race condition as we wait for the EL.

This issue may manifest in particular when using an external block
builder that itself publishes the block onto the gossip network.

* refactor enqueue flow
* simplify calling `addBlock`
* complete request manager verifier future for blobless blocks
* re-verify parent conditions before adding block

among other things, it might have gone stale or finalized between one
call and the other
2023-08-17 15:12:37 +02:00
..
README.md Consolidate modules by areas [part 1] (#2365) 2021-03-02 11:27:45 +01:00
action_tracker.nim use v1.4.0 stability subnets by default (#5276) 2023-08-08 19:01:04 +00:00
activity_metrics.nim Keymanager API for the validator client (#3976) 2022-08-19 13:30:07 +03:00
keystore_management.nim fix inconsistent capitalization (#5240) 2023-08-03 18:53:32 +02:00
message_router.nim prevent concurrent `storeBlock` calls (fixes #5285) (#5295) 2023-08-17 15:12:37 +02:00
message_router_mev.nim remove more Bellatrix-only Builder API support infrastructure (#5251) 2023-08-05 00:11:51 +00:00
slashing_protection.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00
slashing_protection_common.nim don't require optional fields importing slashing protection information (#4997) 2023-05-31 18:51:00 +03:00
slashing_protection_v2.nim don't require optional fields importing slashing protection information (#4997) 2023-05-31 18:51:00 +03:00
validator_duties.nim use fcU V3 in Deneb/Cancun (#5293) 2023-08-15 23:00:35 +00:00
validator_monitor.nim remove unused code (#5158) 2023-07-15 16:30:52 +00:00
validator_pool.nim automated consensus spec URL updating to v1.4.0-beta.1 (#5280) 2023-08-09 03:58:47 +00:00

README.md

Validators

This folder holds all modules related to a Beacon Chain Validator besides the binaries they interact directly with (nimbus_validator_cliant and nimbus_signing_process):

  • Validator keystore
  • Validator slashing protection
  • Validator duties
  • Validator pool