erigon-pulse/cmd/rpcdaemon/commands
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
..
contracts rename (#1978) 2021-05-20 19:25:53 +01:00
call_traces_test.go Reproduce and fix trace_filter index problem (#2084) 2021-06-04 09:09:57 +01:00
corner_cases_support_test.go Simulated backend and genesis to kv (#2104) 2021-06-05 16:17:04 +01:00
daemon.go txpool_content (#2127) 2021-06-11 09:34:47 +01:00
db_api_deprecated.go rename (#1978) 2021-05-20 19:25:53 +01:00
debug_api_test.go Simulated backend and genesis to kv (#2104) 2021-06-05 16:17:04 +01:00
debug_api.go txpool_content (#2127) 2021-06-11 09:34:47 +01:00
erigon_api.go Rename to Erigon (#2018) 2021-05-26 11:35:39 +01:00
erigon_block.go remove left usage of object db in rpcdaemon 2021-05-31 17:12:48 +07:00
erigon_issuance.go txpool_content (#2127) 2021-06-11 09:34:47 +01:00
erigon_receipts.go simplify receipts reading (#2094) 2021-06-04 13:28:18 +01:00
erigon_system.go Rename to Erigon (#2018) 2021-05-26 11:35:39 +01:00
error_messages.go add --datadir parameter to integration, snapshot generator, header downloader (#1749) 2021-04-19 14:25:26 +07:00
eth_accounts.go rename (#1978) 2021-05-20 19:25:53 +01:00
eth_api_test.go txpool_content (#2127) 2021-06-11 09:34:47 +01:00
eth_api.go Check version of remote services (#1989) 2021-05-22 11:00:13 +01:00
eth_block.go Implement historical tx simulation rpc api (#2093) 2021-06-04 13:27:21 +01:00
eth_call_test.go Better compatibility with OE for trace_call and trace_callMany (#2137) 2021-06-11 13:19:10 +01:00
eth_call.go remove left usage of object db in rpcdaemon 2021-05-31 17:12:48 +07:00
eth_deprecated.go rename (#1978) 2021-05-20 19:25:53 +01:00
eth_filters.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
eth_ming_test.go txpool_content (#2127) 2021-06-11 09:34:47 +01:00
eth_mining.go rename (#1978) 2021-05-20 19:25:53 +01:00
eth_receipts.go simplify receipts reading (#2094) 2021-06-04 13:28:18 +01:00
eth_system.go remove left usage of object db in rpcdaemon 2021-05-31 17:12:48 +07:00
eth_txs.go Rename to Erigon (#2018) 2021-05-26 11:35:39 +01:00
eth_uncles.go Rename to Erigon (#2018) 2021-05-26 11:35:39 +01:00
get_chain_config_test.go Simulated backend and genesis to kv (#2104) 2021-06-05 16:17:04 +01:00
net_api.go Check version of remote services (#1989) 2021-05-22 11:00:13 +01:00
rpc_block.go rename (#1978) 2021-05-20 19:25:53 +01:00
send_transaction_test.go txpool_content (#2127) 2021-06-11 09:34:47 +01:00
send_transaction.go rename (#1978) 2021-05-20 19:25:53 +01:00
shh_api_deprecated.go rename (#1978) 2021-05-20 19:25:53 +01:00
storage_range.go rename (#1978) 2021-05-20 19:25:53 +01:00
test_util.go Better compatibility with OE for trace_call and trace_callMany (#2137) 2021-06-11 13:19:10 +01:00
trace_adhoc_test.go Simulated backend and genesis to kv (#2104) 2021-06-05 16:17:04 +01:00
trace_adhoc.go Better compatibility with OE for trace_call and trace_callMany (#2137) 2021-06-11 13:19:10 +01:00
trace_api.go rename (#1978) 2021-05-20 19:25:53 +01:00
trace_filtering.go simplify receipts reading (#2094) 2021-06-04 13:28:18 +01:00
trace_types.go rename (#1978) 2021-05-20 19:25:53 +01:00
tracing.go txpool_content (#2127) 2021-06-11 09:34:47 +01:00
txpool_api_test.go txpool_content (#2127) 2021-06-11 09:34:47 +01:00
txpool_api.go txpool_content (#2127) 2021-06-11 09:34:47 +01:00
web3_api.go Check version of remote services (#1989) 2021-05-22 11:00:13 +01:00