nimbus-eth1/nimbus/sync
Jordan Hrycaj 0b93236d1b
Beacon sync block import via forked chain (#2747)
* Accept finalised hash from RPC with the canon header as well

* Reorg internal sync descriptor(s)

details:
  Update target from RPC to provide the `consensus header` as well as
  the `finalised` block number

why:
  Prepare for using `importBlock()` instead of `persistBlocks()`

* Cosmetic updates

details:
+ Collect all pretty printers in `helpers.nim`
+ Remove unused return codes from function prototype

* Use `importBlock()` + `forkChoice()` rather than `persistBlocks()`

* Update logging and metrics

* Update docu
2024-10-17 17:59:50 +00:00
..
beacon Beacon sync block import via forked chain (#2747) 2024-10-17 17:59:50 +00:00
handlers Versioned hash32 (#2672) 2024-10-01 19:40:37 +02:00
protocol Versioned hash32 (#2672) 2024-10-01 19:40:37 +02:00
beacon.nim Beacon sync block import via forked chain (#2747) 2024-10-17 17:59:50 +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 Clean up modules in sync folder (#2670) 2024-10-01 09:19:29 +00:00
sync_sched.nim Beacon sync: Fix race condition with peer fifo overflow (#2699) 2024-10-04 20:23:30 +00:00