nimbus-eth1/nimbus/sync
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
..
beacon Add style check to config.nims and fix styles in source code (#2038) 2024-02-20 10:07:38 +07:00
full Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
handlers Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
misc Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
protocol Providing eth68 stubs while setting eth67 as default (#2129) 2024-04-12 11:21:17 +00:00
snap Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
beacon.nim Working prototype of beacon downloader (#1780) 2023-09-28 13:20:12 +07:00
full.nim Code reorg 4 snap sync suite (#1560) 2023-04-24 21:24:07 +01:00
handlers.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00
legacy.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00
peers.nim Slightly change the static peer manager lookup behaviour (#1484) 2023-03-06 09:22:07 +00:00
protocol.nim Providing eth68 stubs while setting eth67 as default (#2129) 2024-04-12 11:21:17 +00:00
snap.nim Fix 'trustedSetupFile' is not accessible for type NimbusConf.cmd == import (#2008) 2024-02-04 22:45:54 +07:00
stateless.nim bump submodules 2023-06-07 18:12:02 +07:00
sync_desc.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
sync_sched.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00
types.nim Bump nim-eth and remove unneeded Defect raises (#1575) 2023-05-10 18:04:35 +02:00