nimbus-eth1/nimbus/core
Jordan Hrycaj 961f63358e
Core db+aristo update recovery journal management (#2156)
* Aristo: Allow to define/set `FilterID` for journal filter records

why:
  After some changes, the `FilterID` is isomorphic to the `BlockNumber`
  scalar (well, the first 2^64 entries of a `BlockNumber`.)

  The needed change for `FilterID` is that the `FilterID(0)` value is
  valid part of the `FilterID` scalar. A non-valid `FilterID` entry is
  represented by `none(FilterID)`.

* Aristo: Split off function `persist()` as persistent version of `stow()`

why:
  In production, `stow(persistent=false,..)` is currently unused. So,
  using `persist()` rather than `stow(persistent=true,..)` improves
  readability and is better to maintain.

* CoreDb+Aristo: Store block numbers in journal records

why:
  This makes journal records searchable by block numbers

* Aristo: Rename some journal related functions

why:
  The name *journal* is more appropriate to api functions than something
   with *fifo* or *filter*.

* CoreDb+Aristo: Update last/oldest journal state retrieval

* CoreDb+Aristo: Register block number with state root in journal

why:
  No need anymore for extra lookup table `stRootToBlockNum` which maps
  a storage root -> block number.

* Aristo: Remove unused function `getFilUbe()` from api

* CoreDb: Remove now unused virtual table `stRootToBlockNum`

why:
  Was used to map a state root to a block number. This functionality
  is now embedded into the recovery journal backend.

* Turn of API tracking (will fail on `fluffy`)
2024-04-29 20:17:17 +00:00
..
chain Core db+aristo update recovery journal management (#2156) 2024-04-29 20:17:17 +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