nimbus-eth1/nimbus/sync
Jordan Hrycaj 71e466d173
Block header download beacon to era1 (#2601)
* Block header download starting at Beacon down to Era1

details:
  The header download implementation is intended to be completed to a
  full sync facility.

  Downloaded block headers are stored in a `CoreDb` table. Later on they
  should be fetched, complemented by a block body, executed/imported,
  and deleted from the table.

  The Era1 repository may be partial or missing. Era1 headers are neither
  downloaded nor stored on the `CoreDb` table.

  Headers are downloaded top down (largest block number first) using the
  hash of the block header by one peer. Other peers fetch headers
  opportunistically using block numbers

  Observed download times for 14m `MainNet` headers varies between 30min
  and 1h (Era1 size truncated to 66m blocks.), full download 52min
  (anectdotal.) The number of peers downloading concurrently is crucial
  here.

* Activate `flare` by command line option

* Fix copyright year
2024-09-09 09:12:56 +00:00
..
beacon Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
flare Block header download beacon to era1 (#2601) 2024-09-09 09:12:56 +00:00
handlers Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
protocol Coredb and sync maintenance update (#2583) 2024-08-30 11:18:36 +00:00
beacon.nim Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
flare.nim Block header download beacon to era1 (#2601) 2024-09-09 09:12:56 +00:00
handlers.nim Culling legacy DB and accounts cache (#2197) 2024-05-20 10:17:51 +00:00
peers.nim Slightly change the static peer manager lookup behaviour (#1484) 2023-03-06 09:22:07 +00:00
protocol.nim Remove eth/66 and eth/67 wire protocol (#2238) 2024-05-29 09:20:25 +02:00
sync_desc.nim Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
sync_sched.nim Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
types.nim Replace some usage of std/options with results Opt (#2323) 2024-06-07 23:39:58 +02:00