nimbus-eth1/nimbus/db/aristo/aristo_desc
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
..
desc_backend.nim Aristo db code massage n cosmetics (#1745) 2023-09-12 19:45:12 +01:00
desc_error.nim Aristo db allow shorter than 64 nibbles path keys (#1864) 2023-10-27 22:36:51 +01:00
desc_identifiers.nim Aristo db allow shorter than 64 nibbles path keys (#1864) 2023-10-27 22:36:51 +01:00
desc_structural.nim Aristo db fixes n updates needed for filter fifo (#1728) 2023-09-05 14:57:20 +01:00