nimbus-eth1/nimbus/db/kvt
Jordan Hrycaj 3fe0a49a5e
Aristo db allow shorter than 64 nibbles path keys (#1864)
* Aristo: Single `FetchPathNotFound` error in `fetchXxx()` and `hasPath()`

why:
  Missing path hike returns too many detailed reasons why it failed
  which becomes cumbersome to handle.

also:
  Renamed `contains()` => `hasPath()` which disables the `in` operator on
  non-boolean 	`contains()` functions

* Kvt: Renamed `contains()` => `hasKey()`

why:
  which disables the `in` operator on non-boolean 	`contains()` functions

* Aristo: Generalising `HashID` by variable length `PathID`

why:
  There are cases when the `Aristo` database is to be used with
  shorter than 64 nibbles keys when handling transactions indexes
  with sequence IDs.

caveat:
  This patch only works reliable for full length `PathID` values. Tests
  for shorter `PathID` values are currently missing.
2023-10-27 22:36:51 +01:00
..
kvt_desc Core db aristo and kvt updates preparing for integration (#1760) 2023-09-18 21:20:28 +01:00
kvt_init Core db update providing additional results code interface (#1776) 2023-09-26 10:21:13 +01:00
kvt_walk Core db aristo and kvt updates preparing for integration (#1760) 2023-09-18 21:20:28 +01:00
kvt_constants.nim Simple stupid key-value table companion for Aristo DB (#1746) 2023-09-12 19:44:45 +01:00
kvt_desc.nim Core db update providing additional results code interface (#1776) 2023-09-26 10:21:13 +01:00
kvt_init.nim Simple stupid key-value table companion for Aristo DB (#1746) 2023-09-12 19:44:45 +01:00
kvt_persistent.nim Simple stupid key-value table companion for Aristo DB (#1746) 2023-09-12 19:44:45 +01:00
kvt_tx.nim Core db update providing additional results code interface (#1776) 2023-09-26 10:21:13 +01:00
kvt_utils.nim Aristo db allow shorter than 64 nibbles path keys (#1864) 2023-10-27 22:36:51 +01:00
kvt_walk.nim Simple stupid key-value table companion for Aristo DB (#1746) 2023-09-12 19:44:45 +01:00