grin/chain/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
..
bitmap_accumulator.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
bitmap_segment.rs More efficient serialization for bitmap segments (#3492) 2020-11-24 15:19:07 +01:00
chain_test_helper.rs never speak of the verifier cache again (#3628) 2021-04-01 15:04:53 +01:00
data_file_integrity.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
mine_nrd_kernel.rs implement fix past fees RFC with fee shift since genesis (#3629) 2021-05-11 16:39:09 +01:00
mine_simple_chain.rs PMMR Backend Support for append_pruned_root (Continued) (#3659) 2021-11-09 15:34:10 +00:00
nrd_validation_rules.rs implement fix past fees RFC with fee shift since genesis (#3629) 2021-05-11 16:39:09 +01:00
process_block_cut_through.rs implement fix past fees RFC with fee shift since genesis (#3629) 2021-05-11 16:39:09 +01:00
store_indices.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
store_kernel_pos_index.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
test_block_known.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
test_coinbase_maturity.rs implement fix past fees RFC with fee shift since genesis (#3629) 2021-05-11 16:39:09 +01:00
test_get_kernel_height.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
test_header_weight_validation.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
test_txhashset.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
test_txhashset_archive.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00