bsc/node
rene 07d909ff32
node: allow websocket and HTTP on the same port (#20810)
This change makes it possible to run geth with JSON-RPC over HTTP and
WebSocket on the same TCP port. The default port for WebSocket
is still 8546. 

    geth --rpc --rpcport 8545 --ws --wsport 8545

This also removes a lot of deprecated API surface from package rpc.
The rpc package is now purely about serving JSON-RPC and no longer
provides a way to start an HTTP server.
2020-04-08 13:33:12 +02:00
..
api.go node: allow websocket and HTTP on the same port (#20810) 2020-04-08 13:33:12 +02:00
config_test.go cmd, node, p2p/simulations: fix node account manager leak (#19004) 2019-02-07 12:40:36 +02:00
config.go p2p/enode: improve IPv6 support, add ENR text representation (#19663) 2019-06-07 15:31:00 +02:00
defaults.go cmd, graphql, node: graphql flag polishes, les integration 2019-06-20 09:40:26 +03:00
doc.go node: documentation typo fix (#17113) 2018-07-03 11:42:18 +03:00
endpoints.go node: allow websocket and HTTP on the same port (#20810) 2020-04-08 13:33:12 +02:00
errors.go node: fix instance dir locking and improve error message 2017-08-18 12:14:00 +02:00
node_example_test.go cmd, node, p2p/simulations: fix node account manager leak (#19004) 2019-02-07 12:40:36 +02:00
node_test.go node: allow websocket and HTTP on the same port (#20810) 2020-04-08 13:33:12 +02:00
node.go node: allow websocket and HTTP on the same port (#20810) 2020-04-08 13:33:12 +02:00
rpcstack_test.go node: allow websocket and HTTP on the same port (#20810) 2020-04-08 13:33:12 +02:00
rpcstack.go node: allow websocket and HTTP on the same port (#20810) 2020-04-08 13:33:12 +02:00
service_test.go cmd/geth: enable DNS discovery by default (#20660) 2020-02-13 15:38:30 +02:00
service.go cmd/geth: enable DNS discovery by default (#20660) 2020-02-13 15:38:30 +02:00
utils_test.go node: all golint warnings fixed (#16773) 2018-05-22 10:29:41 +03:00