Skip to content

fix(payment): isolate provider mempool errors - #36

Merged
Alike001 merged 1 commit into
mainfrom
fix/isolate-provider-mempool-errors
Aug 30, 2026
Merged

Alike001 merged 1 commit into
mainfrom
fix/isolate-provider-mempool-errors

Conversation

@Alike001

Copy link
Copy Markdown
Owner

Summary

  • isolate any per-transaction provider error after a successful mempool snapshot
  • continue scanning when other mempool candidates decode successfully
  • pause safely when every candidate fails or an incomplete scan would expire an invoice
  • add regression tests for isolated provider limits and total candidate failure

Production evidence

The live invoice completed getblockcount, getaddresstxids, getrawmempool, and 15 getrawtransaction calls before one candidate failed. The endpoint and invoice were both healthy; the isolated candidate was misclassified as a total outage.

Verification

  • npm run format:check
  • npm run lint
  • npm run typecheck
  • focused payment suite: 21 passed
  • remaining suite: 133 passed, 1 skipped
  • npm run secret:check
  • npm run build

Closes #35

Copilot AI lite review requested due to automatic review settings August 30, 2026 13:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercel Bot commented Aug 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
zecceipt Ready Ready Preview Aug 30, 2026 1:54pm

@Alike001
Alike001 merged commit 7a30e6d into main Aug 30, 2026
4 checks passed
@Alike001
Alike001 deleted the fix/isolate-provider-mempool-errors branch August 30, 2026 13:57

This branch was successfully deployed

1 active deployment
Preview — 56a6b32e Deployed Aug 30, 2026 by vercel[bot]
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.

fix(payment): tolerate isolated provider errors during mempool scans

2 participants