Remove the NetworkChan (#2577)

* Remove the NetworkChan from the API

* Remove the NetworkChan altogether

* Address review

* Fix line widths

* More line width fixes

* Remove pub visibility from entire world

* Fix tests
This commit is contained in:
Pierre Krieger
2019-05-21 14:07:01 +02:00
committed by GitHub
parent e296cf8cba
commit 062b734571
8 changed files with 361 additions and 298 deletions
@@ -159,6 +159,10 @@ impl TestNetFactory for GrandpaTestNet {
}
}
fn uses_tokio(&self) -> bool {
true
}
fn peer(&self, i: usize) -> &GrandpaPeer {
&self.peers[i]
}