mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2026-08-31 17:01:19 +00:00
* Provide `snap/2` wire protocol
details
+ The protocol `snap2` is not officially released, yet and some details
might be subject to change.
+ Snap server (aka handler) messages all respond with an error for
`snap1` and `snap2`.
+ Snap client protocol is implemented for `snap1` and `snap2`.
* Enable `snap/2` in scheduler
* Simplify unused `ErrorType` cases for fetch functions
why
This avoids the `of else` idiom. So the compiler can still check
whether all cases are taken care of.
Yet it avoids updating multiple files whenever the list of
`ErrorType` symbols is changed.
* Provide block access lists fetch handler
* Provide BAL download mechanism that stores into the cache DB
* Provide auto down loader for BALs that updates cache DB
details
Checks automatically where to append the missing BALs.
* Code cosmetics, comments update, small fixes and updates
---------
Co-authored-by: jordan <jordan@dry.pudding>