status-go/geth
Dmitry Shulyak 2d964bfe9f Remove async operations from node manager (#584)
The main goal of this change is to remove async operations from node manager.
Additionally all of the signals from node manager are moved to status backend.

All of the async operation now will have the following behaviour:
- If node in the correct state exit immediatly without error
- If node not in the correct state exit immediatly with error
- In all other cases spawn a goroutine with wanted operation
- All the progress regarding that operation will be reported
  by using signals
- Signals should be handled in once place, which is StatusBackend

There are 2 potentially breaking changes:
- Empty event field will be ommited when Envelope is sent to a client
- All errors will be delivered to a client as an Envelope, previously
  some errors (NodeExists, NoRunningNode) were delivered synchronously

Signed-off-by: Dmitry Shulyak <yashulyak@gmail.com>
2018-02-09 14:37:56 +01:00
..
account Group tests in a dedicated testing package (#629) 2018-02-08 13:52:47 +01:00
api Remove async operations from node manager (#584) 2018-02-09 14:37:56 +01:00
common Remove async operations from node manager (#584) 2018-02-09 14:37:56 +01:00
jail Fix a couple of lint warnings 2018-02-09 10:28:27 +01:00
log Make gas linter happy (#544) 2018-01-17 17:46:21 +01:00
mailservice Refactor shh_requestMessages method (#513) 2017-12-21 11:26:01 +01:00
node Remove async operations from node manager (#584) 2018-02-09 14:37:56 +01:00
notification Update notify interface and mark old one as deprecated 2017-10-24 00:47:09 +03:00
params Enable ethereum metrics collection (#616) 2018-02-05 21:25:40 +02:00
rpc Add a test case to reproduce the issue (#548) 2018-01-11 18:17:41 +01:00
signal Enforce type safety in `NodeCrashEvent` #602 (#607) 2018-02-05 11:37:59 +01:00
transactions Group tests in a dedicated testing package (#629) 2018-02-08 13:52:47 +01:00