nimbus-eth2/beacon_chain
Jacek Sieka ca1775f725
Fetch by-root request directly from quarantine (#5167)
When the requestmanager is busy fetching blocks, the queue might get
filled with multiple entries of the same root - since there is no
deduplication, requests containing the same root multiple times will be
sent out.

Also, because the items sit in the queue for a long time potentially,
the request might be stale by the time that the manager is ready with
the previous request.

This PR removes the queue and directly fetches the blocks to download
from the quarantine which solves both problems (the quarantine already
de-duplicates and is clean of stale information).

Removing the queue for blobs is left for a future PR.

Co-authored-by: tersec <tersec@users.noreply.github.com>
2023-07-11 18:22:02 +02:00
..
consensus_object_pools Fetch by-root request directly from quarantine (#5167) 2023-07-11 18:22:02 +02:00
el simplify deposit syncing message (#5177) 2023-07-11 08:01:56 +02:00
fork_choice automated consensus spec URL updating to v1.4.0-beta.0 (#5121) 2023-06-24 15:43:30 +00:00
gossip_processing update some consensus-specs ref URLs to v1.4.0-beta.0 (#5163) 2023-07-05 16:02:55 +00:00
networking avoid unnecessary buffer zero:ing (#5178) 2023-07-11 08:01:45 +02:00
rpc rest: allow state root lookups up to 8k slots from head (#5155) 2023-07-06 12:53:35 +02:00
spec use correct import name for kzg4844 (#5179) 2023-07-10 23:55:40 +00:00
sync Fetch by-root request directly from quarantine (#5167) 2023-07-11 18:22:02 +02:00
validator_client VC: Use scoring function to select best attestation data when using multiple BNs. (#5101) 2023-07-06 11:14:22 +02:00
validators Remove stale denebImplementationMissing (#5173) 2023-07-10 17:17:33 +02:00
.editorconfig Add .editorconfig file and remove trailing newlines 2021-09-14 12:12:49 +03:00
.gitignore Rename binaries; Mimic the original repo layout in the distribution 2020-11-09 11:38:52 +02:00
beacon_chain_db.nim don't check legacy tables for pruning (#5116) 2023-06-26 19:30:45 +03:00
beacon_chain_db_immutable.nim update some consensus-specs ref URLs to v1.4.0-beta.0 (#5163) 2023-07-05 16:02:55 +00:00
beacon_chain_db_light_client.nim broaden `SszError` catches to `SerializationError` (#5081) 2023-06-15 16:29:13 +00:00
beacon_clock.nim automatic update of v1.3.0-rc.5 consensus spec URLs to v1.3.0 (#4848) 2023-04-21 18:52:43 +00:00
beacon_node.nim VC: Remote BN clock offset monitoring. (#4846) 2023-06-28 15:33:07 +02:00
beacon_node_light_client.nim https://github.com/ethereum/consensus-specs/pull/3421 https://github.com/ethereum/execution-apis/pull/420 (#5147) 2023-06-30 08:14:20 +00:00
beacon_node_status.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00
conf.nim opt-out support for v1.4.0 attestation stability subnets (#5128) 2023-06-30 05:23:15 +00:00
conf_light_client.nim Add Yamux experimental support (#5080) 2023-06-23 09:16:30 +02:00
db_limits.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00
deposits.nim use v1.4.0-beta.0 consensus spec test vectors (#5120) 2023-06-24 12:27:15 +00:00
era_db.nim reduce `nim-eth` dependencies just for RNG (#5099) 2023-06-19 22:43:50 +00:00
extras.nim clean up redundant tests and config (#4836) 2023-04-18 21:26:36 +02:00
filepath.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00
future_combinators.nim bump chronos (#5039) 2023-06-08 13:42:19 +00:00
light_client.nim automated consensus spec URL updating to v1.4.0-beta.0 (#5121) 2023-06-24 15:43:30 +00:00
light_client_db.nim broaden `SszError` catches to `SerializationError` (#5081) 2023-06-15 16:29:13 +00:00
nim.cfg enable `styleCheck:usages` (#3573) 2022-04-08 16:22:49 +00:00
nimbus_beacon_node.nim Fetch by-root request directly from quarantine (#5167) 2023-07-11 18:22:02 +02:00
nimbus_beacon_node.nim.cfg remove `news` leftovers (#4299) 2022-11-08 20:06:54 +00:00
nimbus_binary_common.nim fix `Access-Control-Allow-Origin` response (#5028) 2023-06-04 16:46:00 +00:00
nimbus_light_client.nim https://github.com/ethereum/consensus-specs/pull/3421 https://github.com/ethereum/execution-apis/pull/420 (#5147) 2023-06-30 08:14:20 +00:00
nimbus_light_client.nim.cfg remove `news` leftovers (#4299) 2022-11-08 20:06:54 +00:00
nimbus_signing_node.nim Web3Signer support only for only Bellatrix and later (#5107) 2023-06-29 09:36:43 +00:00
nimbus_signing_node.nim.cfg Revert writing backfill root to database (#3215) 2021-12-21 11:40:14 +01:00
nimbus_validator_client.nim VC: Remote BN clock offset monitoring. (#4846) 2023-06-28 15:33:07 +02:00
nimbus_validator_client.nim.cfg remove `news` leftovers (#4299) 2022-11-08 20:06:54 +00:00
sszdump.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00
statediff.nim automated v1.4.0-alpha.2 to v1.4.0-alpha.3 consensus spec URL updates (#5065) 2023-06-13 14:03:49 +00:00
statusbar.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00
trusted_node_sync.nim fix code for Nim `v1.6.14` compatibility (#5131) 2023-06-28 17:21:43 +00:00
version.nim Version 23.6.1 2023-06-27 03:58:14 +03:00
wallets.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00