nimbus-eth1/nimbus/sync/snap/worker
Jordan Hrycaj f20f20f962
Prepare snap server client test scenario (#1483)
* Enable `snap/1` accounts range service

* Allow to change the garbage collector to `boehm` as a Makefile option.

why:
  There is still an unsolved memory corruption problem that might be
  related to the standard `gc`. It seemingly goes away if the `gc` is
  changed to `boehm`.

  Specifying another `gc` on the make level simplifies debugging and
  development.

* Code cosmetics

details:
* updated exception annotations
* extracted `worker_desc.nim` from `full/worker.nim`
* etc.

* Implement option to state a sync modifier file

why:
  This allows to specify extra sync type specific options which might
  change over time. This file is regularly checked for updates.

* Implement a threshold when to suspend full syncing

why:
  For a test scenario, a full sync beep may work as a local snap server.
  There is no need to download the full block chain.

details:
  The file containing the pivot specs is specified by the
  `--sync-ctrl-file` option. It is regularly parsed for updates.
2023-03-02 09:57:58 +00:00
..
com Snap sync extractor and sub range proofs cont1 (#1468) 2023-02-15 10:14:40 +00:00
db Prepare snap server client test scenario (#1483) 2023-03-02 09:57:58 +00:00
pivot Minor updates for testing and cosmetics (#1476) 2023-02-23 13:13:02 +00:00
pivot.nim Prepare snap server client test scenario (#1483) 2023-03-02 09:57:58 +00:00
ticker.nim Prepare snap server client test scenario (#1483) 2023-03-02 09:57:58 +00:00