Introduce BuildParachainContext trait (#302)

* Introduce `BuildParachainContext` trait

* Change the structure and hide the actual network implementation behind a
trait

* Add functions to collator `Network` trait
This commit is contained in:
Bastian Köcher
2019-06-27 23:55:40 +02:00
committed by GitHub
parent 6eb3f92a8e
commit b92dd81300
5 changed files with 93 additions and 31 deletions
+1
View File
@@ -2308,6 +2308,7 @@ dependencies = [
"substrate-consensus-aura 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"substrate-consensus-common 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"substrate-keyring 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"substrate-network 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"substrate-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"tokio 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)",
]