Optimize PMMR segments to only include hashes at pruning boundaries#3820
Optimize PMMR segments to only include hashes at pruning boundaries#3820mkorovkin2 wants to merge 4 commits into
Conversation
…t pruning boundaries; tests updated as segment size dropped from 521 to 281 bytes (7 hashes -> 1 hash)
|
First PR! (People in the Keybase/Telegram chat suggested to tag John/David) |
|
Hey @DavidBurkett - when you get a chance would appreciate your feedback on this PR! |
|
PIBD Sync is restarting every time before validation when this peer exists in the end of |
@ardocrat |
Then we'll need additional validation for segments, current validation or root validation after applying new segment is not helping as I tested |
Addressing TODO item in code: optimize PMMR segments to only include hashes at pruning boundaries; tests updated as segment size dropped from 521 to 281 bytes (7 hashes -> 1 hash)
name: Pull Request
about: Pull Request checklist
title: 'Optimize PMMR segments to only include hashes at pruning boundaries'
labels: ''
assignees: ''
cargo test -p grin_core unprunable_mmr/cargo test -p grin_store --test segment/cargo test -p grin_chain --test bitmap_segment