Fix quadratic iterations in transaction pool ready set (#6256)

* refactor ready set size calc

* Update client/transaction-pool/graph/src/ready.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* remove pub

* update to new variat

* rename

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Nikolay Volf
2020-06-11 00:25:52 +03:00
committed by GitHub
parent 273f31b7aa
commit f5caf030aa
3 changed files with 205 additions and 7 deletions
@@ -32,6 +32,7 @@ mod pool;
mod ready;
mod rotator;
mod validated_pool;
mod tracked_map;
pub mod base_pool;
pub mod watcher;