Add adds the passed nonce to the map and handles eviction of the oldest item if adding the new item would exceed the max limit. Adding an existing item makes it the most recently used item.

This function is safe for concurrent access.

Add is referenced in 1 repository