gballet / multiproof-rs

A rust implementation of Alexey Akhunov's multiproof algorithm
Apache License 2.0
33 stars 8 forks source link

Add tree trait #43

Closed gballet closed 4 years ago

gballet commented 5 years ago

This PR prepares the ground for supporting several tree formats. This addresses #10 and supersedes #42

As a result, it adds a trait Tree that supports operations like insertion and iteration over the set of child nodes, then re-implements Node in terms of this trait.

gballet commented 4 years ago

Superseded by #44