nervosnetwork / ckb

The Nervos CKB is a public permissionless blockchain, and the layer 1 of Nervos network.
https://www.nervos.org
MIT License
1.17k stars 233 forks source link

Feature Request: Public Mode #4642

Open jordanmack opened 2 months ago

jordanmack commented 2 months ago

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:

github-actions[bot] commented 1 month ago

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.

doitian commented 1 month ago

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

github-actions[bot] commented 2 weeks ago

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.

jordanmack commented 2 weeks ago

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

I'm aware of the proxy, but this is not an ideal solution for accessibility. It adds overhead and complexity which could be simplified to a single configuration directive.