The cache has been removed to resolve issue #85 - the cache have not been flushed correctly on the node shutdown, which resulted in occasional database breaking on shutdown.
This PR re-introduce the cache with proper closing (flushing of the backedMap into the epoch db).
This adds a cache into dagIndexer's VecFlushable.
The cache has been removed to resolve issue #85 - the cache have not been flushed correctly on the node shutdown, which resulted in occasional database breaking on shutdown. This PR re-introduce the cache with proper closing (flushing of the backedMap into the epoch db).