Skip to content

confirm: in-flight keep-until; drop RecentCreates and PipelineParentStore - #269

Open
rearden-grok[bot] wants to merge 6 commits into
masterfrom
confirm/inflight-keep-until
Open

confirm: in-flight keep-until; drop RecentCreates and PipelineParentStore#269
rearden-grok[bot] wants to merge 6 commits into
masterfrom
confirm/inflight-keep-until

Conversation

@rearden-grok

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

Copy link
Copy Markdown
Contributor

Summary

  • In-flight keep-until: CreatePin layers stay until drain+fence and class_a_hi >= until, with until = lookup_started_hi.max(hi) frozen at write (Query::stamp_create_keep_until → load prune take_create_keep_until). Stamp walks InFlightView (then live_union, then TipOnly). Drain+fence stays required: at tip-follow until ≈ hi, so tx.head drain can still be in flight when the height condition would otherwise fire.
  • Delete RecentCreates: write no longer publishes a second identity+outs layer list. Creates-only layers (plan=None) still drop at drain+fence (until unset + empty outs).
  • Delete unused PipelineParentStore: IBD never turned it on. BatchParents stays batch-local. Weak registry / with_store / adopt_from_store / publish_to_store / WireLoadPipeline.parent_store are gone.

ibd: sizes recent= / pstore= stay 0. Pin material remains pipeline-local (batch_pin / BatchParents).

Test plan

  • Targeted tests on the worktree (rbitcoin-query in-flight keep-until / stamp; rbitcoin-consensus write/pin; hub no longer constructs a parent store)
  • Required CI green: fmt, deny, clippy, ast-grep, test, windows, macos, multinode, coverage

Made with Cursor

rearden-grok Bot and others added 6 commits August 26, 2026 01:16
Drain+fence is enough for TipOnly identity, not for CreatePin outs.
Pin layers now wait for class_a_hi >= until frozen at write
(lookup_started_hi.max(hi)), the RecentCreates drop horizon.

Co-authored-by: Cursor <cursoragent@cursor.com>
CreatePin outs stay on InFlightView through write keep-until, so stamp
no longer walks a second identity ring. Leftover after drain+fence is
TipOnly.

Co-authored-by: Cursor <cursoragent@cursor.com>
In-flight keep-until already holds CreatePin outs past Class A, so write
no longer clones a second identity ring. Direct connect stamps idx only.

Co-authored-by: Cursor <cursoragent@cursor.com>
In-flight keep-until is the only RAM create-outs chain past Class A.
Stamp already walks InFlightView; write no longer published a second
layer list. layer_chain CAS helpers were RecentCreates-only.

Co-authored-by: Cursor <cursoragent@cursor.com>
Production IBD already passed None; tip-follow is one-shot. BatchParents
stays batch-local Arcs. Cross-batch Weak adopt/publish is gone.

Co-authored-by: Cursor <cursoragent@cursor.com>
Stamp order is in-flight → live_union → TipOnly. Pin layers wait for
write-frozen until. PipelineParentStore is gone.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

0 participants