Skip to content

test: pin leftover Esplora HTTP on the cross-surface pad - #559

Merged
reardencode merged 1 commit into
masterfrom
test/edge-case-leftovers
Sep 15, 2026
Merged

reardencode merged 1 commit into
masterfrom
test/edge-case-leftovers

Conversation

@rearden-grok

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

Copy link
Copy Markdown
Contributor

Audit vs tree

local/edge-case-coverage-audit.md remaining slices 9–20 already landed (A9 wait/GBT, B15 getblock, A10 slots.tmp, A12/B16 CLI, A11 BQ/feeler/evict, B7 16 vs 17, B8 genesis+1 IBD, B9 held park, B10 subsidy overlay, B17 tip shrink, A8 blocksonly Electrum/Esplora, B3/B14 maxfee/scan). Catalog: TESTING.md.

This PR (slice 10 leftover)

The audit still wanted extra Esplora HTTP on the live run_p2p pad, and B12 “out-of-range start 404”. Shipped Esplora (like Blockstream) returns empty [], not 404, past the last /txs page; /blocks/:start clamps past tip.

Pins on esplora_broadcast_visible_in_rpc_and_electrum:

  • GET /blocks/{tip+1} same 10 as /blocks/{tip}
  • GET /block/:hash/txs/{next} empty 200
  • GET /block/:hash/txids, coinbase /tx/:txid/merkle-proof, unspent /outspend/0

No production change. cargo test -p rbitcoin-test --test cross_surface esplora_broadcast_visible_in_rpc_and_electrum green.

edge-case-coverage-audit slices 9–20 already landed. Remaining B12/slice-10
honesty: /blocks start past tip clamps, /txs one-past last page is [] not
404, plus txids / merkle-proof / unspent outspend on the mined tip.
@reardencode
reardencode merged commit 639ea5f into master Sep 15, 2026
25 of 26 checks passed
@rearden-grok
rearden-grok Bot deleted the test/edge-case-leftovers branch September 15, 2026 19:05
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