nimbus-eth1/tests/test_sync_snap
Jordan Hrycaj 7d9e1d8607
Misc updates for full sync (#2140)
* Code cosmetics

* Aristo+Kvt: Fix api wrappers

why:
  Api setup killed the backend descriptor when backend mapping was
  disabled.

* Aristo: Implement masked profiling entries

why:
  Database backend should be listed but not counted in tally

* CoreDb: Simplify backend() methods

why:
  DBMS backend access Was provided very early and over engineered. Now
  there are only two backend machines, one for `Kvt` and the other one
  for an `Mpt` available only via new API.

* CoreDb: Code cleanup regarding descriptor types

* CoreDb: Refactor/redefine `persistent()` methods

why:
  There were `persistent()` methods for any type of caching storage
  facilities `Kvt`, `Mpt`, `Phk`, and `Acc`. Now there is only a single
  `persistent()` method storing all facilities in tandem (similar to
  how transactions work.)

  For non shared `Kvt` tables, there is now an extra storage method
  `saveOffSite()`.

* CoreDb lingo update: `trie` becomes `column`

why:
  Notion of a `trie` is pretty much hidden by the new `CoreDb` api.
  Revealed are sort of database columns for accounts an storage data,
  any of which have an internal state represented by a Keccack hash.
  So a `trie` or `MPT` becomes a `column` and a `rootHash` becomes a
  column state.

* Aristo: rename backend filed `filters` => `journal`

* Update full sync logging

details:
  + Disable eth handler noise while syncing
  + Log journal depth (if available)

* Fix copyright year

* Fix cruft and unwanted imports
2024-04-19 18:37:27 +00:00
..
sample0.txt.gz Update snap offline tests (#1199) 2022-08-24 14:44:18 +01:00
sample1.txt.gz Update snap offline tests (#1199) 2022-08-24 14:44:18 +01:00
sample2.txt.gz Snap fetch account storage data (#1211) 2022-09-02 19:16:09 +01:00
sample3.txt.gz Snap fetch account storage data (#1211) 2022-09-02 19:16:09 +01:00
snap_other_xx.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
snap_storage_xx.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
snap_syncdb_xx.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
snap_test_xx.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_accounts.nim Remove obsolete select_backend and fix simulators CI (#2007) 2024-02-04 21:28:20 +07:00
test_calc.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00
test_helpers.nim Fix styles (#2046) 2024-02-21 23:04:59 +07:00
test_inspect.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00
test_node_range.nim Fix styles (#2046) 2024-02-21 23:04:59 +07:00
test_pivot.nim Update Nimbus codebase to use the new nim-rocksdb API. (#2054) 2024-03-05 12:54:42 +08:00
test_storage.nim Remove obsolete select_backend and fix simulators CI (#2007) 2024-02-04 21:28:20 +07:00
test_syncdb.nim Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
test_types.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00