Skip to content

mempool: admit package members sequentially for 1p1c - #503

Merged
reardencode merged 1 commit into
masterfrom
test/cross-surface-package
Sep 13, 2026
Merged

reardencode merged 1 commit into
masterfrom
test/cross-surface-package

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • MempoolHub::accept_package now commits each member before the next admit so an Esplora POST /txs/package 1p1c child can spend the in-package parent (prepare-all left the child orphaned).
  • Fold onto esplora_broadcast_visible_in_rpc_and_electrum: process gettxout / getchaintips, live GET /mempool / /mempool/txids / /mempool/recent / /fee-estimates, and serving-only submitpackage refusing while relay is off (sendraw still admits).
  • Package JSON errors and dispatch gettxout stay units.

Test plan

  • cargo test -p rbitcoin-test --test cross_surface esplora_broadcast_visible_in_rpc_and_electrum
  • Required CI green (fmt, deny, clippy, ast-grep, test, windows, macos, multinode, coverage)

Made with Cursor

Prepare-all left a child orphaned because the parent was not yet in
the graph. Commit each member before the next admit. Pin Esplora
POST /txs/package success, process gettxout/getchaintips, live
/mempool*, and serving-only submitpackage refusing while relay is off.

Co-authored-by: Cursor <cursoragent@cursor.com>
@reardencode
reardencode merged commit 784d214 into master Sep 13, 2026
16 checks passed
@rearden-grok
rearden-grok Bot deleted the test/cross-surface-package branch September 13, 2026 20:45
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