nimbus-eth1/nimbus/db/kvt
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
..
kvt_desc Core db use differential tx layers for aristo and kvt (#1949) 2023-12-19 12:39:23 +00:00
kvt_init Aristo db kvt maintenance update (#1952) 2023-12-20 16:19:00 +00:00
kvt_walk Aristo db kvt maintenance update (#1952) 2023-12-20 16:19:00 +00:00
kvt_constants.nim Core db use differential tx layers for aristo and kvt (#1949) 2023-12-19 12:39:23 +00:00
kvt_debug.nim Aristo db kvt maintenance update (#1952) 2023-12-20 16:19:00 +00:00
kvt_desc.nim Core db use differential tx layers for aristo and kvt (#1949) 2023-12-19 12:39:23 +00:00
kvt_init.nim Core db use differential tx layers for aristo and kvt (#1949) 2023-12-19 12:39:23 +00:00
kvt_layers.nim Aristo db kvt maintenance update (#1952) 2023-12-20 16:19:00 +00:00
kvt_persistent.nim Core db use differential tx layers for aristo and kvt (#1949) 2023-12-19 12:39:23 +00:00
kvt_tx.nim Core db use differential tx layers for aristo and kvt (#1949) 2023-12-19 12:39:23 +00:00
kvt_utils.nim Aristo db kvt maintenance update (#1952) 2023-12-20 16:19:00 +00:00
kvt_walk.nim Core db use differential tx layers for aristo and kvt (#1949) 2023-12-19 12:39:23 +00:00