grin/core/tests
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
..
block.rs never speak of the verifier cache again (#3628) 2021-04-01 15:04:53 +01:00
common.rs implement fix past fees RFC with fee shift since genesis (#3629) 2021-05-11 16:39:09 +01:00
consensus_automated.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
consensus_mainnet.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
consensus_testnet.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
core.rs implement fix past fees RFC with fee shift since genesis (#3629) 2021-05-11 16:39:09 +01:00
merkle_proof.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
pmmr.rs PMMR Backend Support for append_pruned_root (Continued) (#3659) 2021-11-09 15:34:10 +00:00
segment.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
transaction.rs implement fix past fees RFC with fee shift since genesis (#3629) 2021-05-11 16:39:09 +01:00
vec_backend.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00