nimbus-eth1/nimbus/sync/snap/worker/db
Jordan Hrycaj 85de03fd6e
Rename and update dismantle => hexaryEnvelopeDecompose() (#1351)
* Rename and update dismantle => hexaryEnvelopeDecompose()

why:
+ As for naming, a positive connotation is prefered
+ The unit tests were really insufficient
+ The function result was wrong on a few boundry conditions

detail:
+ Extracted the function from `hexary_paths.nim` and re-implemented
  it together with other envelope functions => `hexary_envelope.nim`
+ Re-wrote docu for `hexaryEnvelopeDecompose()`

* Relaxed right condition for `hexaryEnvelopeDecompose()` range argument

why;
  Previously, the right point of the argument interval had to be a path
  to an allocated leaf node. While this is typically a given for accounts,
  it is easier to require an arbitrary range of paths (or keys) with
  the requirement of a `boundary proof` for left and right (i.e. enough
  nodes in the database to find the end points.)

also:
  Bug fixes for related functions (typos, missing conditions etc.)

* Add missing unit tests include file
2022-12-06 17:35:56 +00:00
..
notused Rename and update dismantle => hexaryEnvelopeDecompose() (#1351) 2022-12-06 17:35:56 +00:00
hexary_desc.nim Rename and update dismantle => hexaryEnvelopeDecompose() (#1351) 2022-12-06 17:35:56 +00:00
hexary_envelope.nim Rename and update dismantle => hexaryEnvelopeDecompose() (#1351) 2022-12-06 17:35:56 +00:00
hexary_error.nim Rename and update dismantle => hexaryEnvelopeDecompose() (#1351) 2022-12-06 17:35:56 +00:00
hexary_import.nim Prep for full sync after snap make 4 (#1282) 2022-10-27 14:49:28 +01:00
hexary_inspect.nim Rename and update dismantle => hexaryEnvelopeDecompose() (#1351) 2022-12-06 17:35:56 +00:00
hexary_interpolate.nim Rename and update dismantle => hexaryEnvelopeDecompose() (#1351) 2022-12-06 17:35:56 +00:00
hexary_nearby.nim Rename and update dismantle => hexaryEnvelopeDecompose() (#1351) 2022-12-06 17:35:56 +00:00
hexary_paths.nim Rename and update dismantle => hexaryEnvelopeDecompose() (#1351) 2022-12-06 17:35:56 +00:00
rocky_bulk_load.nim Snap sync accounts db code reorg (#1189) 2022-08-15 16:51:50 +01:00
snapdb_accounts.nim Rename and update dismantle => hexaryEnvelopeDecompose() (#1351) 2022-12-06 17:35:56 +00:00
snapdb_desc.nim Rename and update dismantle => hexaryEnvelopeDecompose() (#1351) 2022-12-06 17:35:56 +00:00
snapdb_persistent.nim Snap sync interval complement method to speed up trie perusal (#1328) 2022-11-28 09:03:23 +00:00
snapdb_pivot.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
snapdb_storage_slots.nim Rename and update dismantle => hexaryEnvelopeDecompose() (#1351) 2022-12-06 17:35:56 +00:00