nimbus-eth1/nimbus/sync
Jordan Hrycaj cc2c888a63
Snap sync swap in other pivots (#1363)
* Provide index to reconstruct missing storage slots

why;
  Pivots will be changed anymore once they are officially archived. The
  account of the archived pivots are ready to be swapped into the active
  pivot. This leaves open how to treat storage slots not fetched yet.

  Solution: when mothballing, an `account->storage-root` index is
  compiled that can be used when swapping in accounts.

* Implement swap-in from earlier pivots

details;
  When most accounts are covered by the current and previous pivot
  sessions, swapping inthe accounts and storage slots  (i.e. registering
  account ranges done) from earlier pivots takes place if there is a
  common sub-trie.

* Throttle pivot change when healing state has bean reached

why:
  There is a hope to complete the current pivot, so pivot update can be
  throttled. This is achieved by setting another minimum block number
  distance for the pivot headers. This feature is still experimental
2022-12-12 22:00:24 +00:00
..
full Remodel persistent snapdb access (#1274) 2022-10-20 17:59:54 +01:00
misc implement better hardfork management 2022-12-02 13:51:42 +07:00
protocol Snap sync tweaks n fixes (#1359) 2022-12-09 13:43:55 +00:00
snap Snap sync swap in other pivots (#1363) 2022-12-12 22:00:24 +00:00
full.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
handlers.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
legacy.nim Snap sync tweaks n fixes (#1359) 2022-12-09 13:43:55 +00:00
peers.nim saner source code grouping 2022-12-02 13:51:42 +07:00
protocol.nim initial wire protocol transformation 2022-10-15 19:48:21 +07:00
skeleton.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
snap.nim Snap sync tweaks n fixes (#1359) 2022-12-09 13:43:55 +00:00
sync_desc.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
sync_sched.nim Snap sync tweaks n fixes (#1359) 2022-12-09 13:43:55 +00:00
types.nim initial wire protocol transformation 2022-10-15 19:48:21 +07:00