nimbus-eth1/nimbus/sync
Jordan Hrycaj bba1bea4c8
Snap sync state save (#1302)
* Piecemeal trie inspection

details:
  Trie inspection will stop after maximum number of nodes visited.
  The inspection can be resumed using the returned state from the
  last session.

why:
  This feature allows for task switch between `piecemeal` sessions.

* Extract pivot helper code from `worker.nim` => `pivot_helper.nim`

* Accounts import will now return dangling paths from `proof` nodes

why:
  With proper bookkeeping, this can be used to start healing without
  analysing the the probably full trie.

* Update `unprocessed` account range handling

why:
  More generally, the API of a pairs of unprocessed intervals favours
  the first set and not before that is exhausted the second set comes
  into play.

  This was unfortunately implemented which caused the ranges to be
  unnecessarily fractioned. Now the number of range interval typically
  remains in the lower single digit numbers.

* Save sync state after end of downloading some accounts

details:
  restore/resume to be implemented later
2022-11-16 23:51:06 +00:00
..
full Remodel persistent snapdb access (#1274) 2022-10-20 17:59:54 +01:00
misc Prep for full sync after snap make 5 (#1286) 2022-11-01 15:07:44 +00:00
protocol Prettify logging for snap sync environment (#1278) 2022-10-21 20:29:42 +01:00
snap Snap sync state save (#1302) 2022-11-16 23:51:06 +00:00
fast.nim initial wire protocol transformation 2022-10-15 19:48:21 +07:00
full.nim Update sync scheduler (#1297) 2022-11-14 14:13:00 +00:00
handlers.nim disable NewBlockHashes and NewBlock of eth wire handler after POS transition 2022-11-14 16:17:34 +07:00
protocol.nim initial wire protocol transformation 2022-10-15 19:48:21 +07:00
skeleton.nim initial beacon sync skeleton implementation 2022-09-17 09:08:55 +07:00
snap.nim Update sync scheduler (#1297) 2022-11-14 14:13:00 +00:00
sync_desc.nim Update sync scheduler (#1297) 2022-11-14 14:13:00 +00:00
sync_sched.nim Update sync scheduler (#1297) 2022-11-14 14:13:00 +00:00
types.nim initial wire protocol transformation 2022-10-15 19:48:21 +07:00