Skip to content

fix(payment): isolate malformed mempool candidates - #34

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

Alike001 merged 1 commit into
mainfrom
fix/isolate-malformed-mempool-candidates

Conversation

@Alike001

Copy link
Copy Markdown
Owner

Summary

  • keep scanning an active invoice when one unrelated mempool transaction returns malformed or incomplete decoded data
  • preserve error evidence while allowing another valid candidate to be detected
  • keep post-expiry incomplete scans fail-closed instead of falsely expiring an invoice
  • retain rpc_unavailable for provider, transport, and global RPC failures

Why

Production showed successful getblockcount, getaddresstxids, getrawmempool, and many getrawtransaction calls followed by one malformed candidate. That isolated candidate incorrectly paused all pre-expiry verification.

Verification

  • npm run format:check
  • npm run lint
  • npm run typecheck
  • npm test — 152 passed, 1 skipped
  • npm run secret:check
  • npm run build

Closes #33

@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 12:44pm

Copilot AI lite review requested due to automatic review settings August 30, 2026 12:44

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.

@Alike001
Alike001 merged commit 1170ba1 into main Aug 30, 2026
4 checks passed
@Alike001
Alike001 deleted the fix/isolate-malformed-mempool-candidates branch August 30, 2026 12:48

This branch was successfully deployed

1 active deployment
Preview — df8a1b28 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): isolate malformed mempool candidates during invoice scans

2 participants