nimbus-eth1/nimbus/core
Jordan Hrycaj 0d4ef023ed
Update aristo journal functionality (#2155)
* Aristo: Code cosmetics, e.g. update some CamelCase names

* CoreDb+Aristo: Provide oldest known state root implied

details:
  The Aristo journal allows to recover earlier but not all state roots.

* Aristo: Fix journal backward index operator, e.g. `[^1]`

* Aristo: Fix journal updater

why:
  The `fifosStore()` store function slightly misinterpreted the update
  instructions when translation is to database `put()` functions. The
  effect was that the journal was ever growing due to stale entries which
  were never deleted.

* CoreDb+Aristo: Provide utils for purging stale data from the KVT

details:
  See earlier patch, not all state roots are available. This patch
  provides a mapping from some state root to a block number and allows to
  remove all KVT data related to a particular block number

* Aristo+Kvt: Implement a clean up schedule for expired data in KVT

why:
  For a single state ledger like `Aristo`, there is only a limited
  backlog of states. So KVT data (i.e. headers etc.) are cleaned up
  regularly

* Fix copyright year
2024-04-26 13:43:52 +00:00
..
chain Update aristo journal functionality (#2155) 2024-04-26 13:43:52 +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 Fix txPool: excessBlobGas should be calculated before entering EVM, not after (#2149) 2024-04-24 07:50:50 +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