nimbus-eth1/nimbus/db
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
..
access_list.nim EIP2929 implementation 2021-01-11 14:56:42 +07:00
accounts_cache.nim update EF test fixtures and fixes to pass all tests 2022-10-03 16:41:32 +07:00
capturedb.nim
db_chain.nim add additional constructor to BaseChainDB 2022-10-25 11:01:31 +07:00
geth_db.nim allow nimbus to read geth database 2020-06-18 13:16:25 +07:00
kvstore_rocksdb.nim Experimental bulk loader tests (#1187) 2022-08-12 16:42:07 +01:00
select_backend.nim Experimental bulk loader tests (#1187) 2022-08-12 16:42:07 +01:00
state_db.nim refactor genesis.nim 2022-03-03 08:28:00 +07:00
storage_types.nim Snap sync state save (#1302) 2022-11-16 23:51:06 +00:00