nimbus-eth1/nimbus/core/executor
Jordan Hrycaj b623909c44
Ledger activate unified accounts cache wrapper (#1939)
* Activate `LedgerRef` wrapper for `AccountsCache`

details:
  `accounts_cache.nim` methods are indirectly processed by the wrapper
  methods from `ledger.nim`.

  This works for all sources except `test_state_db.nim` where the source
  `accounts_cache.nim` is included (rather than imported) in order to
  access objects privy to the very source.

* Provide facility to switch to a preselected `LedgerRef` type

details:
  Can be set as suggestion when initialising `CommonRef`

* Update `CoreDb` test suite for better time tracking

details:
+ Allow time logging by pre-defined block intervals
+ Print `CoreDb`/`Ledger`profiling results (if enabled)
2023-12-12 19:12:56 +00:00
..
calculate_reward.nim Ledger activate unified accounts cache wrapper (#1939) 2023-12-12 19:12:56 +00:00
executor_helpers.nim Ledger activate unified accounts cache wrapper (#1939) 2023-12-12 19:12:56 +00:00
process_block.nim Ledger activate unified accounts cache wrapper (#1939) 2023-12-12 19:12:56 +00:00
process_transaction.nim Ledger activate unified accounts cache wrapper (#1939) 2023-12-12 19:12:56 +00:00