erigon-pulse/rpc
ledgerwatch 59e5502744
Initial work on RPC streaming (#1880)
* Initial work on RPC streaming

* Create the stream and pass it on

* trace_filter expressed as streamable (not finished)

* Reenable call trace index

* Add new line

* Remove storage mode override

* Tool for overriding storage mode

* Diagnostics

* Make trace_filter more streamy

* Streaming debug_traceTransaction and debug_traceCall

* Fix test

* Log error on stream flush

* Enable streaming for http

* Flush the stream too

* Make trace_filter flush too

* Stop streaming if client is not interested

* Try to quiet annoying test|

* Revert "Try to quiet annoying test|"

This reverts commit 42849257bfa52e90140aa535af34b957cd97a222.

* Debug log for test

* Proceed with handshake regardless of whether peer notification worked

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-06 18:37:38 +01:00
..
testdata rpc: fix issue with null JSON-RPC messages (#21497) 2020-09-11 16:04:59 +02:00
allow_list_test.go Granular rpc control (Allow list for RPC daemon) (#1341) 2020-11-10 10:08:42 +01:00
allow_list.go Granular rpc control (Allow list for RPC daemon) (#1341) 2020-11-10 10:08:42 +01:00
client_example_test.go rpc: make ExampleClientSubscription work with the geth API (#19483) 2020-05-20 15:26:22 +03:00
client_test.go linters 2020-08-15 22:22:05 +02:00
client.go Initial work on RPC streaming (#1880) 2021-05-06 18:37:38 +01:00
constants_unix_nocgo.go accounts, p2p, rpc: make CGO_ENABLED=0 build again (#19593) 2019-05-26 01:07:10 +03:00
constants_unix.go accounts, p2p, rpc: make CGO_ENABLED=0 build again (#19593) 2019-05-26 01:07:10 +03:00
doc.go rpc: remove 'exported or builtin' restriction for parameters (#20332) 2019-12-03 13:44:56 +01:00
endpoints.go trie, rpc, cmd/geth: fix tests on 32-bit and windows + minor rpc fixes (#21871) 2021-03-08 12:28:54 +01:00
errors.go internal/ethapi: return revert reason for eth_call (#21083) 2020-06-15 19:38:13 +03:00
handler.go Initial work on RPC streaming (#1880) 2021-05-06 18:37:38 +01:00
helpers.go Rpcdaemon as lib (#940) 2020-08-19 12:46:20 +01:00
http_test.go Lint fixes 2021-03-17 20:45:33 +00:00
http.go Initial work on RPC streaming (#1880) 2021-05-06 18:37:38 +01:00
inproc.go rpc, p2p/simulations: use github.com/gorilla/websocket (#20289) 2019-12-03 13:37:18 +01:00
ipc_js.go all: update author list and licenses 2019-07-22 12:17:27 +03:00
ipc_unix.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
ipc_windows.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
ipc.go rpc, p2p/simulations: use github.com/gorilla/websocket (#20289) 2019-12-03 13:37:18 +01:00
json.go rpc: fix issue with null JSON-RPC messages (#21497) 2020-09-11 16:04:59 +02:00
metrics.go geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
server_test.go internal/ethapi: return revert reason for eth_call (#21083) 2020-06-15 19:38:13 +03:00
server.go Initial work on RPC streaming (#1880) 2021-05-06 18:37:38 +01:00
service.go Initial work on RPC streaming (#1880) 2021-05-06 18:37:38 +01:00
stdio.go rpc, p2p/simulations: use github.com/gorilla/websocket (#20289) 2019-12-03 13:37:18 +01:00
subscription_test.go geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
subscription.go rpc: remove silly use of ReadVarint in subscription ID generator (#21391) 2020-08-12 12:44:18 +02:00
testservice_test.go rpc: add separate size limit for websocket (#22385) 2021-03-12 15:50:22 +01:00
types_test.go RPC method fixes (#1007) 2020-08-29 22:28:09 +01:00
types.go Fix lints and remove more unused code (#1621) 2021-03-29 10:58:45 +07:00
websocket_test.go Fix lints and remove more unused code (#1621) 2021-03-29 10:58:45 +07:00
websocket.go rpc: add separate size limit for websocket (#22385) 2021-03-12 15:50:22 +01:00