datrs / hypercore

Secure, distributed, append-only log
https://docs.rs/hypercore
Apache License 2.0
327 stars 37 forks source link

use tree_index functions #48

Closed yoshuawuyts closed 5 years ago

yoshuawuyts commented 5 years ago

Replaces ad-hoc conversions from index to index into flat-tree to use inline functions instead. This hopefully makes the code a bit more clear as to what's going on, and will help with future refactoring. Thanks!