Add events for im_online (#3991)

* Add AllGood event for im_online

* Another event just in case.

* Bump runtime
This commit is contained in:
Gavin Wood
2019-11-01 11:07:46 +00:00
committed by GitHub
parent 9de6dea4c3
commit 26f4084f95
6 changed files with 47 additions and 58 deletions
@@ -43,7 +43,7 @@ pub trait NetworkSpecialization<B: BlockT>: Send + Sync + 'static {
/// Called when a network-specific event arrives.
#[deprecated(note = "This method is never called; please use `with_dht_event_tx` when building the service")]
fn on_event(&mut self, event: Event) {}
fn on_event(&mut self, _event: Event) {}
/// Called on abort.
#[deprecated(note = "This method is never called; aborting corresponds to dropping the object")]