pub fn new(capacity: usize) -> Self {
        let cache = SequentialCache::new("mempool", capacity);
        let cache = Arc::new(RwLock::new(cache));
        Self(cache)
    }
Initializes the mempool cache with the parameters provided.
core/node/api_server/src/web3/mempool_cache.rs