[Feature Request][RPC][CLI]: Make providing GRPC and RPC endpoints possible in separate URLs #2931
Labels
area:config
CLI and config
enhancement
New feature or request
external
Issues created by non node team members
Implementation ideas
Introduction
ATM, we are providing
core.ip
with an assumption that this address has opened ports for both rpc and grpc. In production environment, this is not a norm to do. Moreover, this makes public infra providers serve another endpoint for such purposes, thus creating redundancy and opening more vectors for bad UX in understanding what does what in our docshttps://docs.celestia.org/nodes/mainnet#da-rpc-endpoints
H/t @kjessec @jcstein @marcmacmac for good discussions around this topic
What makes this endeavour done:
--core.grpc.endpoint=grpc.whatever.io
and--core.rpc.endpoint=rpc.whatever.io
Usually, for secured connections, 80 for rpc and 443 for grpc are used. Configuring it as a concatenation to aforementioned with a
:
sign at the end of the string is a good enough imho and assuming default portsThe text was updated successfully, but these errors were encountered: