Jordan Hrycaj dd1c8ed6f2
Aristo db update delete functionality (#1621)
* Fix missing branch checks in transcoder

why:
  Symmetry problem. `Blobify()` allowed for encoding degenerate branch
  vertices while `Deblobify()` rejected decoding wrongly encoded data.

* Update memory backend so that it rejects storing bogus vertices.

why:
  Error behaviour made similar to the rocks DB backend.

* Make sure that leaf vertex IDs are not repurposed

why:
  This makes it easier to record leaf node changes

* Update error return code for next()/right() traversal

why:
  Returning offending vertex ID (besides error code) helps debugging

* Update Merkle hasher for deleted nodes

why:
  Not implemented, yet

also:
  Provide cache & backend consistency check functions. This was
  partly re-implemented from `hashifyCheck()`

* Simplify some unit tests

* Fix delete function

why:
  Was conceptually wrong
2023-06-30 23:22:33 +01:00
..
2023-06-26 07:46:09 +07:00
2023-06-29 06:24:37 +07:00
2023-06-26 16:58:59 +07:00
2023-06-26 07:46:09 +07:00
2023-06-07 18:12:02 +07:00
2023-01-13 13:04:23 +07:00
2019-04-17 03:56:28 +02:00
2023-06-07 18:12:02 +07:00
2022-12-02 13:51:42 +07:00
2023-06-07 18:12:02 +07:00