nimbus-eth1/nimbus/db
Jordan Hrycaj 0308dfac4f
Aristo db address sup trie items properly (#1600)
* Fix include

why:
  Eth67 not default yet so that got missed

* Rename `LeafKey` => `LeafTie`

why:
  Name is a pen picture of what this object is for. Also, it avoids the
  ubiquitous term `key`.

* Provided `getOrVoid()` wrapper for `getOrDefault()`

also:
  Provide `isValid()` syntactic sugar for `.isNil.not`, `!= 0` etc.
  Reorg descriptor source, split into sub-sources

* Bundled `NodeKey` objects with root ID and called it `HashLabel`

why:
  `NodeKey` (aka repurposed Hash265) objects are unique only within a
  particular sub-trie (e.g. storage slots) which are kept separated
  (i.e non-interleaved) by design. This is not applied to the backend
  as the map VertexID->NodeKey labelling the nodes needs not be injective.

  For the in-memory database (transaction) layers, the injective map
  VertexID->(VertexID,NodeKey) is used where the first field of the image
  tuple is the root ID of the sub-trie the `NodeKey` object is valid. So
  identical storage tries for different accounts can be represented.
2023-06-12 14:48:47 +01:00
..
aristo Aristo db address sup trie items properly (#1600) 2023-06-12 14:48:47 +01:00
access_list.nim EIP2929 implementation 2021-01-11 14:56:42 +07:00
accounts_cache.nim Revert "Some work on speculative execution (#1552)" (#1561) 2023-04-24 16:59:38 -04:00
capturedb.nim rlp: don't use ranges / experimental features (#495) 2020-04-20 20:12:44 +02:00
db_chain.nim store withdrawals along with txs in block body 2023-05-23 11:36:20 +03:00
distinct_tries.nim More work on stateless mode (#1535) 2023-04-12 08:39:11 -04:00
geth_db.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
incomplete_db.nim bump submodules 2023-06-07 18:12:02 +07:00
kvstore_rocksdb.nim Silence compiler gossip after nim upgrade cont1 (#1455) 2023-01-31 01:32:17 +00:00
select_backend.nim Bump submodules and fix related issues (#1448) 2023-01-27 15:57:48 +01:00
state_db.nim More work on stateless mode (#1535) 2023-04-12 08:39:11 -04:00
storage_types.nim fix persistHeaderToDb, allow POS block header to be canonical 2022-12-10 09:02:30 +07:00
values_from_bytes.nim More work on stateless mode (#1535) 2023-04-12 08:39:11 -04:00