Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Public Mode #4642

Open
jordanmack opened this issue Sep 12, 2024 · 2 comments
Open

Feature Request: Public Mode #4642

jordanmack opened this issue Sep 12, 2024 · 2 comments
Labels
t:enhancement Type: Feature, refactoring.

Comments

@jordanmack
Copy link

Feature Request

Is your feature request related to a problem? Please describe.

Running a public CKB node requires several RPC methods to be restricted. This introduces extra work for the operator and extra overhead for a proxy. https://docs.nervos.org/docs/node/run-public-rpc-node

If we want to encourage more community members to run public nodes then we need to make it more accessible. In a perfect world, everyone who needs access would run their own private full node. In realistic observation of our ecosystem and other ecosystems, this does not happen as often as we would like.

Describe the solution you'd like

A simple configuration option for public mode that disables RPC methods which should be restricted.

Three configuration states:

  • private: All methods enabled for everyone.
  • public: All restricted methods are disabled for everyone.
  • mixed: Restricted methods are enabled for localhost and disabled for everyone else.
@jordanmack jordanmack added the t:enhancement Type: Feature, refactoring. label Sep 12, 2024
@jordanmack jordanmack changed the title Feature Request: Public Node Mode Feature Request: Public Mode Sep 12, 2024
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale To be closed due to a lack of activity label Oct 17, 2024
@doitian
Copy link
Member

doitian commented Oct 17, 2024

See list of projects to setup the proxy for the RPC server.

@github-actions github-actions bot removed the stale To be closed due to a lack of activity label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:enhancement Type: Feature, refactoring.
Projects
None yet
Development

No branches or pull requests

3 participants
@doitian @jordanmack and others