nimbus-eth1/nimbus/core
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
..
chain Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
clique Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
executor Experimental RPC endpoints for generating block witnesses (#1977) 2024-01-22 17:11:37 +08:00
pow Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
tx_pool Align with EIP-4844: rename getBlobGasPrice to getBlobBaseFee (#2043) 2024-02-21 16:14:34 +07:00
block_import.nim Remove obsolete select_backend and fix simulators CI (#2007) 2024-02-04 21:28:20 +07:00
casper.nim processBeaconBlockRoot in TxPool(EIP-4788) 2023-10-19 07:50:07 +07:00
chain.nim saner source code grouping 2022-12-02 13:51:42 +07:00
clique.nim Remove redundant words (#2100) 2024-03-26 07:10:46 +07:00
dao.nim Ledger activate unified accounts cache wrapper (#1939) 2023-12-12 19:12:56 +00:00
eip4844.nim Align with EIP-4844: rename getBlobGasPrice to getBlobBaseFee (#2043) 2024-02-21 16:14:34 +07:00
executor.nim saner source code grouping 2022-12-02 13:51:42 +07:00
gaslimit.nim Silence compiler gossip after nim upgrade (#1454) 2023-01-30 22:10:23 +00:00
pow.nim Bump stint to v2.0: new array backend (#1747) 2023-09-13 09:32:38 +07:00
sealer.nim TxPool: Bubble up error from packer to assembleBlock 2023-11-01 09:24:32 +07:00
tx_pool.nim Add style check to config.nims and fix styles in source code (#2038) 2024-02-20 10:07:38 +07:00
validate.nim Align with EIP-4844: rename getBlobGasPrice to getBlobBaseFee (#2043) 2024-02-21 16:14:34 +07:00
withdrawals.nim Fix test_blockchain_json and pyspec simulator for Cancun (#1805) 2023-10-05 10:04:12 +07:00