Conversation
This was referenced Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Pending transaction requests currently exclude otherwise available block providers, and unordered scheduling can reserve the only provider for a later block. Introduce block-specific idleness and shared provider eligibility, reserve providers in block-height order, and retain blocks without an eligible source for a later pass.
Initial requests prefer smaller batches in the current scheduling pass. Backups prefer lower fetch-latency P75 without a hard latency cutoff and dispatch only after the actual short timeout or the existing faster-provider condition. Make the in-process sync-block set concurrent.
Why?
Block fetching should remain available during transaction downloads and should prioritize earlier available blocks while retaining usable backup providers.
Split scope
Independent split 3 of #91, based directly on
release_v4.8.3. It does not require the provider-accounting PR (#97) or validated-INV PR (#98). Retry-state retention, the two-request bound, disconnect recovery, and registration/worker races remain together in the fourth PR, to be proposed after the first three merge.When combining with #98, retain both the monotonic activity updater and the idle-method documentation at the overlapping insertion in
PeerConnection; this merge was verified locally.Existing idle API semantics remain unchanged; new eligibility APIs are additive and Java 8 compatible. No dependencies, wire/storage formats, or configuration change.
Validation
checkstyleMain checkstyleTestpassed; Semgrep found no issues in changed files.test: 3,461 tests, 26 skipped, zero failures/errors.:framework:generateGitPropertiesbecause the existing metadata plugin cannot resolve linked worktrees.