nimbus-eth1/tests/replay
Jordan Hrycaj 4ff0948fed
Snap sync accounts healing (#1225)
* Added inspect module

why:
  Find dangling references for trie healing support.

details:
 + This patch set provides only the inspect module and some unit tests.
 + There are also extensive unit tests which need bulk data from the
   `nimbus-eth1-blob` module.

* Alternative pivot finder

why:
  Attempt to be faster on start up. Also tying to decouple pivot finder
  somehow by providing different mechanisms (this one runs in `single`
  mode.)

* Use inspect module for healing

details:
 + After some progress with account and storage data, the inspect facility
   is used to find dangling links in the database to be filled nose-wise.
 + This is a crude attempt to cobble together functional elements. The
   set up needs to be honed.

* fix scheduler to avoid starting dead peers

why:
  Some peers drop out while in `sleepAsync()`. So extra `if` clauses
  make sure that this event is detected early.

* Bug fixes causing crashes

details:

+ prettify.toPC():
  int/intToStr() numeric range over/underflow

+ hexary_inspect.hexaryInspectPath():
  take care of half initialised step with branch but missing index into
  branch array

* improve handling of dropped peers in alternaive pivot finder

why:
  Strange things may happen while querying data from the network.
  Additional checks make sure that the state of other peers is updated
  immediately.

* Update trace messages

* reorganise snap fetch & store schedule
2022-09-16 08:24:12 +01:00
..
goerli68161.txt.gz Redesign of BaseVMState descriptor (#923) 2022-01-18 16:19:32 +00:00
gunzip.nim Redesign of BaseVMState descriptor (#923) 2022-01-18 16:19:32 +00:00
mainspecs2k.txt.gz Exported blobs and some scripts to parallel project nimbus-eth1-blobs (#995) 2022-03-16 09:13:17 +00:00
pp.nim Snap accounts bulk import preparer (#1183) 2022-08-04 09:04:30 +01:00
pp_light.nim eth: adapt to smaller eth_types (#1210) 2022-09-03 20:15:35 +02:00
undump_accounts.nim Snap sync accounts healing (#1225) 2022-09-16 08:24:12 +01:00
undump_blocks.nim eth: adapt to smaller eth_types (#1210) 2022-09-03 20:15:35 +02:00
undump_storages.nim Snap sync accounts healing (#1225) 2022-09-16 08:24:12 +01:00