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
+6
View File
@@ -221,6 +221,12 @@ pub struct PolkadotProtocol {
next_req_id: u64,
}
impl Default for PolkadotProtocol {
fn default() -> Self {
Self::new()
}
}
impl PolkadotProtocol {
/// Instantiate a polkadot protocol handler.
pub fn new() -> Self {