85de03fd6e
* 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 |
||
---|---|---|
.. | ||
bulk_test_xx.nim | ||
sample0.txt.gz | ||
sample1.txt.gz | ||
sample2.txt.gz | ||
sample3.txt.gz | ||
snap_other_xx.nim | ||
snap_storage_xx.nim | ||
snap_test_xx.nim | ||
test_decompose.nim | ||
test_types.nim |