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.
Showing
- Cargo.lock 10 additions, 0 deletionsCargo.lock
- core/network/Cargo.toml 1 addition, 0 deletionscore/network/Cargo.toml
- core/network/src/lib.rs 1 addition, 0 deletionscore/network/src/lib.rs
- core/network/src/protocol.rs 9 additions, 9 deletionscore/network/src/protocol.rs
- core/network/src/util.rs 76 additions, 0 deletionscore/network/src/util.rs
Please register or sign in to comment