erigon-pulse/turbo
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
..
adapter remove left usage of object db in rpcdaemon 2021-05-31 17:12:48 +07:00
cli Sokol genesis and chainconfig (#2116) 2021-06-07 12:01:54 +01:00
mock txpool_content (#2127) 2021-06-11 09:34:47 +01:00
node extract p2p config out of sentry (#2126) 2021-06-11 09:34:37 +01:00
remote sentry join streams (#2059) 2021-06-01 17:41:10 +07:00
rlphacks rename (#1978) 2021-05-20 19:25:53 +01:00
rpchelper Better compatibility with OE for trace_call and trace_callMany (#2137) 2021-06-11 13:19:10 +01:00
shards State stream to RPC daemon (#1986) 2021-05-23 15:53:18 +01:00
snapshotsync 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
stages 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
transactions Better compatibility with OE for trace_call and trace_callMany (#2137) 2021-06-11 13:19:10 +01:00
trie Move tests 6 (#2107) 2021-06-06 22:44:14 +01:00
txpool txpool_content (#2127) 2021-06-11 09:34:47 +01:00
README.md Rename to Erigon (#2018) 2021-05-26 11:35:39 +01:00

Erigon-API

Erigon-API is a set of tools for building applications containing Erigon node.

Our own binary erigon is built using it.

Modules

  • cli - erigon-cli, methods & helpers to run a CLI app with Erigon node.

  • node - represents an Ethereum node, running devp2p and sync and writing state to the database.

  • stagedsync - staged sync algorithm.

Examples

  • erigon - our binary is using erigon-api with all defaults

  • erigoncustom - a very simple example of adding a custom stage, a custom bucket and a custom command-line parameter

  • erigon-examples - a series of examples for Erigon api