filecoin-project / dagstore

a sharded store to hold large IPLD graphs efficiently, packaged as location-transparent attachable CAR files, with mechanical sympathy
Other
42 stars 24 forks source link

feat: add expiration support to index backed blockstore #150

Closed jacobheun closed 1 year ago

jacobheun commented 1 year ago

This is a breaking change to the IBB interface.

This pulls the LRU interface from github.com/hnlq715/golang-lru but includes a constructor for both expiry and an evict callback.