grin/core
Yeastplume 3f4f165e0b
PMMR Backend Support for append_pruned_root (Continued) (#3659)
* refactor prune_list with aim of allowing pruned subtree appending

* add test coverage around pmmr::is_leaf() and pmmr::bintree_leaf_pos_iter()

* comments

* cleanup

* implement append pruned subtree for prune_list

* commit

* we can now append to prune_list

* fix our prune_list corruption...

* rework how we rewrite the prune list during compaction

* test coverage for improved prune list api

* continuing to merge

* finish merge, tests passing again

* add function pmmr_leaf_to_insertion_index, and modify bintree_lef_pos_iter to use it. Note there's still an unwrap that needs to be dealt with sanely

* change pmmr_leaf_to_insertion_index to simpler version + handle conversion between 1 and 0 based in bintree_leaf_pos_iter

Co-authored-by: antiochp <30642645+antiochp@users.noreply.github.com>
2021-11-09 15:34:10 +00:00
..
fuzz bump to 3.1.0-beta.3 (#3252) 2020-02-28 12:42:08 +00:00
src PMMR Backend Support for append_pruned_root (Continued) (#3659) 2021-11-09 15:34:10 +00:00
tests PMMR Backend Support for append_pruned_root (Continued) (#3659) 2021-11-09 15:34:10 +00:00
Cargo.toml bump to 5.2.0-alpha.1 on master (#3652) 2021-08-19 09:06:52 +02:00