Fix quadratic iterations over transaction pool (#4736)

* transaction pool changes

* service & network changes

* address review

* reduce future pool
This commit is contained in:
Nikolay Volf authored and Gavin Wood committed 2020-01-27 18:26:42 +01:00
1 parent 76acc96f3a
commit ed3da9f903
12 files changed
+102 -37

No files matched your search

+2
View File
@@ -391,6 +391,8 @@ impl TransactionPool<Hash, Block> for EmptyTransactionPool {
) {}
fn on_broadcasted(&self, _: HashMap<Hash, Vec<String>>) {}
fn transaction(&self, h: &Hash) -> Option<Extrinsic> { None }
}
pub trait SpecializationFactory {