litep2p
litep2p copied to clipboard
kad: Strategy for removing old MemoryStore records
When the memory store is full and a new record is added, remove expired records.
Extracted from: https://github.com/paritytech/litep2p/pull/78#discussion_r1570937475