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
-2
View File
@@ -24,7 +24,6 @@ extern crate substrate_bft as bft;
extern crate substrate_network;
extern crate substrate_primitives;
extern crate node_api;
extern crate node_consensus;
extern crate node_primitives;
@@ -114,4 +113,3 @@ impl Specialization<Block> for Protocol {
fn on_block_imported(&mut self, _ctx: &mut Context<Block>, _hash: Hash, _header: &Header) {
}
}