Move pool maintainance to a background task. (#1236)

* Move pool maintainance to a background task.

* Remove commented code.

* Add issue number to TODOs

* Fix warnings and tests.
This commit is contained in:
Tomasz Drwięga authored and Bastian Köcher committed 2018-12-10 14:13:48 +01:00
1 parent 742cb33d90
commit 507c13e31c
12 files changed
+108 -132

No files matched your search

@@ -54,7 +54,7 @@ pub type TransactionFor<A> = Arc<base::Transaction<ExHash<A>, ExtrinsicFor<A>>>;
pub trait ChainApi: Send + Sync {
/// Block type.
type Block: traits::Block;
/// Hash type
/// Transaction Hash type
type Hash: hash::Hash + Eq + traits::Member + Serialize;
/// Error type.
type Error: From<error::Error> + error::IntoPoolError;