Remove node-api (#804)

* Remove `node-api` from `node-consensus` and `node-transaction-pool`

* Remove the `node-api` crate and its last usages

* Remove left over file

* Fixes compilation errors

* Switch to `As` trait

* Rename trait

* Whitespace
This commit is contained in:
Bastian Köcher
2018-09-26 18:57:30 +02:00
committed by Gav Wood
parent 58cc0992df
commit 718ba4e159
17 changed files with 255 additions and 318 deletions
+1 -1
View File
@@ -11,7 +11,6 @@ error-chain = "0.12"
log = "0.3"
exit-future = "0.1"
rhododendron = "0.3"
node-api = { path = "../api" }
node-primitives = { path = "../primitives" }
node-runtime = { path = "../runtime" }
node-transaction-pool = { path = "../transaction-pool" }
@@ -20,6 +19,7 @@ parity-codec = { version = "2.0" }
substrate-primitives = { path = "../../core/primitives" }
substrate-client = { path = "../../core/client" }
sr-primitives = { path = "../../core/sr-primitives" }
srml-system = { path = "../../srml/system" }
[dev-dependencies]
substrate-keyring = { path = "../../core/keyring" }