Skip to content

Fix PIBD resume stall with newer archive target - #3932

Merged
wiesche89 merged 3 commits into
mimblewimble:stagingfrom
wiesche89:pibd_resume_stall
Sep 24, 2026
Merged

wiesche89 merged 3 commits into
mimblewimble:stagingfrom
wiesche89:pibd_resume_stall

Conversation

@wiesche89

@wiesche89 wiesche89 commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

PIBD could stop requesting output, rangeproof and kernel segments when
resuming against a newer archive target if both pmmr sizes were within the
same segment.

This could be fixed with three small changes, but the surrounding logic was
duplicated for all three pmmr. I moved it into a shared helper to keep the
behavior consistent and make it easier to test.

Tests cover the reported resume case, segment boundaries, completed targets
and Genesis (https://forum.grin.mw/t/grim-cross-platform-gui-for-grin/11128/115?u=wiesche).

Fixes #3931

Comment thread chain/src/txhashset/desegmenter.rs Outdated
@wiesche89
wiesche89 requested a review from ardocrat September 23, 2026 21:10
ardocrat
ardocrat approved these changes Sep 24, 2026 •
@wiesche89
wiesche89 merged commit b66e188 into mimblewimble:staging Sep 24, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants