Consider expanding the core Blockstore interface
Open
need/triage
- Dominant language
- Go
- Stars
- 316
- Forks
- 163
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 8
Description
Lotus, and by extension a few other blockstores currently use [the following interface](https://github.com/filecoin-project/lotus/blob/6afa99d0a1/blockstore/blockstore.go#L14-L35).
```
type Blockstore interface {
blockstore.Blockstore
blockstore.Viewer
BatchDeleter
Flusher
}
```
With the current plan of cloning go-libipfs with unforced migration-by-deprecation the time is right to augment the core interface to be just like the above.
For completeness here is [how lotus deals with the transition](https://github.com/filecoin-project/lotus/blob/6afa99d0a1/blockstore/blockstore.go#L108-L150)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.