status-go/geth/common
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
..
notification.go Update notify interface and mark old one as deprecated 2017-10-24 00:47:09 +03:00
notification_mock.go Update notify interface and mark old one as deprecated 2017-10-24 00:47:09 +03:00
rpccall.go Fixed eth_sendTransaction routing to the local node (#351) 2017-09-25 18:04:40 +02:00
types.go Remove async operations from node manager (#584) 2018-02-09 14:37:56 +01:00
types_mock.go Remove async operations from node manager (#584) 2018-02-09 14:37:56 +01:00
utils.go Fixing test imports (#593) 2018-02-05 00:07:47 +01:00