nimbus-eth1/nimbus/db
Jordan Hrycaj dd1c8ed6f2
Aristo db update delete functionality (#1621)
* Fix missing branch checks in transcoder

why:
  Symmetry problem. `Blobify()` allowed for encoding degenerate branch
  vertices while `Deblobify()` rejected decoding wrongly encoded data.

* Update memory backend so that it rejects storing bogus vertices.

why:
  Error behaviour made similar to the rocks DB backend.

* Make sure that leaf vertex IDs are not repurposed

why:
  This makes it easier to record leaf node changes

* Update error return code for next()/right() traversal

why:
  Returning offending vertex ID (besides error code) helps debugging

* Update Merkle hasher for deleted nodes

why:
  Not implemented, yet

also:
  Provide cache & backend consistency check functions. This was
  partly re-implemented from `hashifyCheck()`

* Simplify some unit tests

* Fix delete function

why:
  Was conceptually wrong
2023-06-30 23:22:33 +01:00
..
aristo Aristo db update delete functionality (#1621) 2023-06-30 23:22:33 +01:00
access_list.nim implement EIP-1153: Transient storage 2023-06-23 14:04:36 +07:00
accounts_cache.nim implement EIP-1153: Transient storage 2023-06-23 14:04:36 +07:00
capturedb.nim rlp: don't use ranges / experimental features (#495) 2020-04-20 20:12:44 +02:00
db_chain.nim implementation of EIP-4844: Shard Blob Transactions (#1440) 2023-06-24 20:56:44 +07: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 implement EIP-1153: Transient storage 2023-06-23 14:04:36 +07:00
transient_storage.nim implement EIP-1153: Transient storage 2023-06-23 14:04:36 +07:00
values_from_bytes.nim More work on stateless mode (#1535) 2023-04-12 08:39:11 -04:00