1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/rpc
Julian Y 5c3993444d
rpc: make ExampleClientSubscription work with the geth API (#19483)
This corrects the call to eth_getBlockByNumber, which previously
returned this error:

  can't get latest block: missing value for required argument 1

Co-authored-by: Felix Lange <fjl@twurst.com>
2020-04-27 17:25:24 +02:00
..
testdata
client.go
client_example_test.go rpc: make ExampleClientSubscription work with the geth API (#19483) 2020-04-27 17:25:24 +02:00
client_test.go all: fix a bunch of inconsequential goroutine leaks (#20667) 2020-04-03 20:07:22 +02:00
constants_unix.go
constants_unix_nocgo.go
doc.go
endpoints.go node: allow websocket and HTTP on the same port (#20810) 2020-04-08 13:33:12 +02:00
errors.go
handler.go rpc: metrics for JSON-RPC method calls (#20847) 2020-04-03 12:36:44 +02:00
http.go node: allow websocket and HTTP on the same port (#20810) 2020-04-08 13:33:12 +02:00
http_test.go
inproc.go
ipc.go
ipc_js.go
ipc_unix.go
ipc_windows.go
json.go
metrics.go rpc: metrics for JSON-RPC method calls (#20847) 2020-04-03 12:36:44 +02:00
server.go
server_test.go
service.go
stdio.go
subscription.go
subscription_test.go all: fix a bunch of inconsequential goroutine leaks (#20667) 2020-04-03 20:07:22 +02:00
testservice_test.go
types.go
types_test.go
websocket.go node: allow websocket and HTTP on the same port (#20810) 2020-04-08 13:33:12 +02:00
websocket_test.go rpc: add missing timer.Stop calls in websocket tests (#20863) 2020-04-02 22:08:45 +02:00