nimbus-eth1/nimbus
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
common Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
core Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
db Block header download beacon to era1 (#2601) 2024-09-09 09:12:56 +00:00
evm create per-fork opcode dispatcher (#2579) 2024-08-28 10:20:36 +02:00
graphql Use simpler schema when writing transactions, receipts, and withdrawals (#2420) 2024-06-29 12:43:17 +07:00
rpc Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
stateless Cleanup stateless and block witness code. (#2295) 2024-06-08 15:05:00 +07:00
sync Block header download beacon to era1 (#2601) 2024-09-09 09:12:56 +00:00
transaction avoid exceptions, tx copy (#2569) 2024-08-19 09:42:07 +02:00
utils avoid copying data when merging save points (#2584) 2024-09-06 22:45:29 +02:00
common.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
compile_info.nim Small updates and fixes for rlpx suite (#2571) 2024-08-19 14:00:10 +00:00
config.nim Block header download beacon to era1 (#2601) 2024-09-09 09:12:56 +00:00
constants.nim Convert GasInt to uint64, bump nim-eth and nimbus-eth2 (#2461) 2024-07-07 06:52:11 +00:00
errors.nim Remove EVM indirect imports and unused EVM errors (#2370) 2024-06-17 09:56:39 +02:00
launcher.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
makefile Snap sync fix trie interpolation fringe condition (#1457) 2023-02-01 18:56:06 +00:00
nim.cfg import: read from era files (#2254) 2024-05-31 09:13:56 +02:00
nimbus.nim Block header download beacon to era1 (#2601) 2024-09-09 09:12:56 +00:00
nimbus_desc.nim Block header download beacon to era1 (#2601) 2024-09-09 09:12:56 +00:00
nimbus_import.nim Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
rpc.nim Wiring ForkedChainRef to other components (#2423) 2024-09-04 09:54:54 +00:00
tracer.nim Don't write slot hashes on import (#2564) 2024-08-16 08:22:51 +02:00
transaction.nim avoid exceptions, tx copy (#2569) 2024-08-19 09:42:07 +02:00
version.nim Add startup banner (#2354) 2024-06-14 10:08:44 +02:00