embark/lib
emizzle 80e323bdd3
Handle geth process exit via crash/kill and also via killing `embark blockchain`
First case - run `embark run` which starts a blockchain node, then manually kill the `geth` process. Would throw `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` error and ruins the dashboard.

Second case, 1) run `embark blockchain` 2) run `embark run` 3) kill `embark blockchain` throws the error `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` and ruins the dashboard.

The first case was solved by having the child blockchain process that spawns geth listen for geth exit, then kill itself.

The second case required updating of `eth-block-tracker` to v4.0.1 inside of the `embark-web3-provider-engine`. v4.0.1 was a major version update and introduced breaking changes. Those changes were handled inside of `embark-web3-provider-engine`, covered in **blocker** PR https://github.com/jrainville/provider-engine/pull/1.
2018-10-23 10:03:03 +02:00
..
cmds Fix for skip-undeployed is not specified 2018-10-23 10:03:03 +02:00
contracts move blockchain connection code to its own module 2018-10-23 09:56:18 +02:00
core fixes due to bad rebase 2018-10-23 10:00:30 +02:00
modules Handle geth process exit via crash/kill and also via killing `embark blockchain` 2018-10-23 10:03:03 +02:00
utils conflict in specialconfigs 2018-10-22 19:54:46 +02:00
constants.json use constants instead of magic numbers 2018-10-22 19:54:47 +02:00
index.js fixes due to bad rebase 2018-10-23 09:57:47 +02:00