Skip to content

Friendlier Path Generation

Benjamin Herman requested to merge change/friendlier-path-generation into main

Add

  • Path interface.
    • leaf and root fields for convenience.
    • steps field is identical to previous path tuples.
  • MerkleTree.prototype.leaves getter for convenience.

Change

  • Broke up source files for clarity.
  • MerkleTree.prototype.paths() generates Path objects instead of step tuples

Merge request reports