mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2026-08-31 00:41:19 +00:00
* Move `blocksUnprocReconcile()` to an extra module out of `blocks_unproc` why Was sort of wrongly placed. There should be no functions with complex logic in the unprocessed ranges driver. * Rename `blocks_bal` and `blocks_fetch` modules details `blocks_bal` -> `blocks_fetch_bal` `blocks_fetch` -> `blocks_fetch_body` * Refactor BAL fetch module with error handling details Errors and throughput is registered, but not fully acted upon yet. * Generalise BAL support availability management why BAL is currently only available for `eth71`, excluding future eth protocol versions. * Update general error and throughput management for BALs * Name block body related fields `bdy`, not `blk` why This misnomer becomes annoying with BALs which are subsumed under the notion of blocks. Previously, blocks and bodies where interchangeably understood by the context, so it did not really matter. * Code cosmetics, comments update, small fixes and updates * Fix unit test --------- Co-authored-by: jordan <jordan@dry.pudding>