cmd/geth, node: allow configuring JSON-RPC on custom path prefix (#22184)
This change allows users to set a custom path prefix on which to mount the http-rpc
or ws-rpc handlers via the new flags --http.rpcprefix and --ws.rpcprefix.
Fixes #21826
Co-authored-by:
Felix Lange <fjl@twurst.com>
Showing
- cmd/geth/main.go 2 additions, 0 deletionscmd/geth/main.go
- cmd/geth/usage.go 2 additions, 0 deletionscmd/geth/usage.go
- cmd/utils/flags.go 18 additions, 0 deletionscmd/utils/flags.go
- go.sum 0 additions, 5 deletionsgo.sum
- graphql/graphql_test.go 3 additions, 11 deletionsgraphql/graphql_test.go
- node/api_test.go 3 additions, 0 deletionsnode/api_test.go
- node/config.go 6 additions, 0 deletionsnode/config.go
- node/node.go 16 additions, 4 deletionsnode/node.go
- node/node_test.go 106 additions, 1 deletionnode/node_test.go
- node/rpcstack.go 57 additions, 14 deletionsnode/rpcstack.go
- node/rpcstack_test.go 107 additions, 30 deletionsnode/rpcstack_test.go
Loading
Please register or sign in to comment