Skip to content

Add standalone local privacy API - #55

Merged
sidhujag merged 3 commits into
mainfrom
codex/privacy-only-server
Oct 28, 2026
Merged

sidhujag merged 3 commits into
mainfrom
codex/privacy-only-server

Conversation

@sidhujag

@sidhujag sidhujag commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Summary

Allow users to run the public Ethereum privacy index and relayer directory on their own computer without starting Sysnode's Syscoin, database, or governance services. The new npm run privacy:start listener binds to IPv4 loopback, validates Host and browser Origin, and reuses the existing read-only privacy routes, limits, backfill and checkpoint behavior.

Support local Ethereum node RPC over HTTP only for explicit localhost, 127.0.0.1, or [::1] with a port; localhost resolves directly to 127.0.0.1 and local requests bypass proxy configuration. Remote RPCs still require HTTPS; redirects and wrong-chain/finality checks remain enforced. The node must serve the required historical data.

Validation

  • Full Node 26 Jest suite: 1,670 tests across 82 suites passed.
  • Focused tests include a separate real process and synthetic loopback node, actual pool snapshot persistence/restart, graceful shutdown, URL/Host/Origin checks, and proxy and redirect controls.
  • A disposable Chromium MV3 extension with network restricted to loopback reached the API through its actual CORS fetch; no user profile, wallet or public chain calls were used.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 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-28T00:44:35.204337Z 85645b6 PR opened
🔒 Security Review ✅ Completed 2026-10-28T00:46:15.368542Z 85645b6 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 85645b6356

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread privacy-server.js Resolved
@sidhujag
sidhujag merged commit 3527660 into main Oct 28, 2026
10 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