Skip to content

Keep requested privacy pools current with public withdrawal data - #48

Merged
sidhujag merged 1 commit into
mainfrom
codex/privacy-index-refresh
Oct 25, 2026
Merged

sidhujag merged 1 commit into
mainfrom
codex/privacy-index-refresh

Conversation

@sidhujag

Copy link
Copy Markdown
Member

Requested privacy pools now continue syncing after the first request and resume after a backend restart. Public snapshots include the pool-wide withdrawn-nullifier list so Pali can match notes locally without making note-specific RPC requests. Unrequested pools remain inactive.

The index keeps one bounded queue, the existing 5,000-block range cap and 45-second job budget. Every nested RPC request checks shutdown and the job deadline. Sparse successful ranges can recover toward the existing cap after a provider forces smaller ranges. Old deposit-only checkpoints are rebuilt; failed refreshes preserve the last complete snapshot.

Validation: 1,524 tests across 75 suites, 12 codec tests, and production dependency audit passed. Independent review reproduced and verified the nested-request cancellation fix; its focused rerun passed 52 tests. A read-only MEVBlocker probe returned 956 deposits and 775 withdrawals for one historical 100-block range; this is not full-history provider qualification.

The service remains disabled by default. A reconstructed deposit root authenticates deposit inclusion, not completeness of the withdrawal feed. Snapshots describe their finalized block and do not cover later or pending withdrawals. No note material, balances, proofs, or broadcasts enter this service.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T06:09:46.892978Z 268a8c1 PR opened
🔒 Security Review 🔄 Running since 2026-10-25T06:08:54.888236Z 268a8c1 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sidhujag
sidhujag merged commit d9088d6 into main Oct 25, 2026
12 checks passed
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