nimbus-eth1/nimbus/db/kvt/kvt_init
Jordan Hrycaj 43e5f428af
Aristo db kvt maintenance update (#1952)
* Update KVT layers abstraction

details:
  modelled after Aristo layers

* Simplified KVT database iterators (removed item counters)

why:
  Not needed for production functions

* Simplify KVT merge function `layersCc()`

* Simplified Aristo database iterators (removed item counters)

why:
  Not needed for production functions

* Update failure condition for hash labels compiler `hashify()`

why:
  Node need not be rejected as long as links are on the schedule. In
  that case, `redo[]` is to become `wff.base[]` at a later stage.

* Update merging layers and label update functions

why:
+ Merging a stack of layers with `layersCc()` could be simplified
+ Merging layers will optimise the reverse `kMap[]` table maps
  `pAmk: label->{vid, ..}` by deleting empty mappings `label->{}` where
  they are redundant.
+ Updated `layersPutLabel()` for optimising `pAmk[]` tables
2023-12-20 16:19:00 +00:00
..
rocks_db Core db update api tracking (#1907) 2023-11-24 22:16:21 +00:00
init_common.nim Core db use differential tx layers for aristo and kvt (#1949) 2023-12-19 12:39:23 +00:00
memory_db.nim Aristo db kvt maintenance update (#1952) 2023-12-20 16:19:00 +00:00
memory_only.nim Core db use differential tx layers for aristo and kvt (#1949) 2023-12-19 12:39:23 +00:00
persistent.nim Core db use differential tx layers for aristo and kvt (#1949) 2023-12-19 12:39:23 +00:00
rocks_db.nim Aristo db kvt maintenance update (#1952) 2023-12-20 16:19:00 +00:00