Commit Graph
2 Commits
Author SHA1 Message Date
Toralf Wittner 4bf4b37185 Limit the set of known extrinsics and blocks. (#1842)
* Limit the set of known extrinsics and blocks.

* Update Cargo.lock

* Always insert and pop oldest entry if needed.

Always inserting first ensures that the element's LRU position is
updated.
2019-02-21 19:24:23 +01:00
Toralf Wittner c5d3da32f2 Small refactoring. (#1826) 2019-02-19 17:29:13 -03:00