nimbus-eth1/nimbus/beacon
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
..
api_handler Beacon sync block import via forked chain (#2747) 2024-10-17 17:59:50 +00:00
api_handler.nim Repositioning blob hash validation in newPayload of engine API (#2141) 2024-04-20 02:43:13 +07:00
beacon_engine.nim replace deprecated types (#2704) 2024-10-16 08:34:12 +07:00
payload_conv.nim Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
payload_queue.nim replace deprecated types (#2704) 2024-10-16 08:34:12 +07:00
web3_eth_conv.nim replace deprecated types (#2704) 2024-10-16 08:34:12 +07:00