nimbus-eth1/nimbus/core/clique
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
..
snapshot Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
clique_cfg.nim Change EthTime from std.Time to distinct uint64 (#1820) 2023-10-18 09:16:11 +07:00
clique_defs.nim Change EthTime from std.Time to distinct uint64 (#1820) 2023-10-18 09:16:11 +07:00
clique_desc.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
clique_genvote.nim Remove redundant words (#2100) 2024-03-26 07:10:46 +07:00
clique_helpers.nim Silence compiler gossip after nim upgrade (#1454) 2023-01-30 22:10:23 +00:00
clique_sealer.nim Bump nim-web3: remove rpc types duplicates 2023-12-13 07:58:12 +07:00
clique_snapshot.nim Prepare source code for nim v2 CI (#2028) 2024-02-15 09:57:05 +07:00
clique_verify.nim Prepare source code for nim v2 CI (#2028) 2024-02-15 09:57:05 +07:00