Split polkadot-service (#310)

* Substrate service

* Splitting polkadot service

* Specialised components

* Specialised components

* Docs and style

* Docs and style

* Final touches

* Added db key assertion
This commit is contained in:
Arkadiy Paronyan
2018-07-14 18:07:11 +02:00
committed by Gav Wood
parent ee31955969
commit b8216372c7
49 changed files with 1250 additions and 936 deletions
@@ -19,7 +19,7 @@
use std::sync::Arc;
use futures::IntoFuture;
use runtime_primitives::traits::{As, Block as BlockT, Header as HeaderT};
use runtime_primitives::traits::{Block as BlockT};
use state_machine::CodeExecutor;
use call_executor::CallResult;
@@ -78,8 +78,6 @@ impl<S, E, F> LightDataChecker<S, E, F> {
impl<S, E, F, Block> FetchChecker<Block> for LightDataChecker<S, E, F>
where
Block: BlockT,
<Block as BlockT>::Hash: From<[u8; 32]> + Into<[u8; 32]>, // TODO: remove when patricia_trie generic.
<<Block as BlockT>::Header as HeaderT>::Number: As<u32>,
S: BlockchainStorage<Block>,
E: CodeExecutor,
F: Fetcher<Block>,