ipfs/kubo
Ver no GitHubcanonical method for checking locality of a block via coreAPI
Open
#6.726 aberto em 24 de out. de 2019
help wantedkind/enhancement
Métricas do repositório
- Stars
- (13.906 stars)
- Métricas de merge de PR
- (Mesclagem média 4d 2h) (28 fundiu PRs em 30d)
Description
Location
:wave: 👨👧👧! I'm looking for the best way to ask "hey is this block local"?
Given that we're in IPFS user land, we should be using core API for this stuff. Which means we're trying to do stuff that's easiest accomplished with a blockstore via coreapi.
Blockstore method that works exactly as we'd like:
Relevant coreAPI subsystem:
Description
We also have the same question about complete DAGs, happy to file a separate issue if you'd prefer. I'd love to be pointed to the canonical methods of determining if a block or dag is local via core API.
Thanks!