Skip to content

ibd: cap assign-stop densify to 1-min window - #305

Merged
reardencode merged 1 commit into
masterfrom
ibd/bq-assign-stop-window
Aug 29, 2026
Merged

ibd: cap assign-stop densify to 1-min window#305
reardencode merged 1 commit into
masterfrom
ibd/bq-assign-stop-window

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • At/over the 1 GiB BQ assign-stop, densify getdata no longer fills holes out to arbitrary fetched_hi.
  • Band is now min(~1 min tip-rate window, fetched_hi, densify_hi) so confirm stalls cannot balloon the body queue by densifying a far sparse horizon.
  • Still never refuses enqueue; still does not grow past fetched_hi.

Test plan

  • cargo test -p rbitcoin-query soft_densify
  • cargo test -p rbitcoin-net densify_over_assign_stop
  • Required CI green

Made with Cursor

Assign-stop was filling holes out to fetched_hi, which ballooned the body
queue when confirm stalled far behind a high fetched horizon. At/over stop,
band_hi is now min(confirm_window_hi, fetched_hi, densify_hi) so densify
stays in the ~1min tip-rate window and does not grow past fetched.

Co-authored-by: Cursor <cursoragent@cursor.com>
@reardencode
reardencode merged commit bd38e73 into master Aug 29, 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.

1 participant