erigon-pulse/rpc
BitBaseBit 7ed337cdcc
Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. (#2153)
* implemented crash reporting for all goroutine panics that aren't handled explicitly

* implemented crash reporting for all goroutine panics that aren't handled explicitly

* changed node defaults back to originals after testing

* implemented panic handling for all goroutines that don't explicitly handle them, outputting the stack trace to a file in crashreports

* handling panics on all goroutines gracefully

* updated missing call

* error assignment

* implemented suggestions

* path.Join added

* implemented Evgeny's suggestions

* changed path.Join to filepath.Join for cross-platform

* added err check

* updated RecoverStackTrace to LogPanic

* updated closures

* removed call of common.Go to some goroutines

* updated scope capture

* removed testing files

* reverted back to original method, I feel like its less intrusive

* update filename for clarity
2021-06-13 17:41:39 +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 rename (#1978) 2021-05-20 19:25:53 +01:00
client_test.go Add ws.compression flag to rpcdaemon (#2143) 2021-06-11 10:21:39 +01:00
client.go rename (#1978) 2021-05-20 19:25:53 +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 Rename to Erigon (#2018) 2021-05-26 11:35:39 +01:00
endpoints.go rename (#1978) 2021-05-20 19:25:53 +01:00
errors.go internal/ethapi: return revert reason for eth_call (#21083) 2020-06-15 19:38:13 +03:00
handler.go Rpcdaemon batch (#2105) 2021-06-05 15:10:52 +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 rename (#1978) 2021-05-20 19:25:53 +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 rename (#1978) 2021-05-20 19:25:53 +01:00
json.go rpc: fix issue with null JSON-RPC messages (#21497) 2020-09-11 16:04:59 +02:00
metrics.go rename (#1978) 2021-05-20 19:25:53 +01:00
server_test.go internal/ethapi: return revert reason for eth_call (#21083) 2020-06-15 19:38:13 +03:00
server.go rename (#1978) 2021-05-20 19:25:53 +01:00
service.go Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. (#2153) 2021-06-13 17:41:39 +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 rename (#1978) 2021-05-20 19:25:53 +01:00
types.go rename (#1978) 2021-05-20 19:25:53 +01:00
websocket_test.go Add ws.compression flag to rpcdaemon (#2143) 2021-06-11 10:21:39 +01:00
websocket.go Add ws.compression flag to rpcdaemon (#2143) 2021-06-11 10:21:39 +01:00