Rework the OnDemand service (#2670)

* Rework the OnDemand service

* Try fix line widths
This commit is contained in:
Pierre Krieger
2019-05-23 21:13:23 +02:00
committed by Gavin Wood
parent ffce18b994
commit ff479c4e23
8 changed files with 665 additions and 583 deletions
+3 -1
View File
@@ -30,6 +30,7 @@ mod protocol;
mod chain;
mod blocks;
mod on_demand;
mod on_demand_layer;
mod util;
pub mod config;
pub mod consensus_gossip;
@@ -56,6 +57,7 @@ pub use network_libp2p::{
};
pub use message::{generic as generic_message, RequestId, Status as StatusMessage};
pub use error::Error;
pub use on_demand::{OnDemand, OnDemandService, RemoteResponse};
pub use on_demand::AlwaysBadChecker;
pub use on_demand_layer::{OnDemand, RemoteResponse};
#[doc(hidden)]
pub use runtime_primitives::traits::Block as BlockT;