mimblewimble / grin

Minimal implementation of the Mimblewimble protocol.
https://grin.mw/
Apache License 2.0
5.04k stars 990 forks source link

Revert "rework prune rewrite with iterators (#3568)" #3569

Closed antiochp closed 3 years ago

antiochp commented 3 years ago

3568 passes all tests and runs successfully in most scenarios but I suspect it has introduced a subtle edge case (still not tracked down). I'm going to revert for now once tests pass on this.

It appears to be possible to leave the output MMR in a bad state after chain compaction, not yet reliably reproducible. Going to revert on master and continue investigating on a branch.