ipfs/kubo
Voir sur GitHubcanonical method for checking locality of a block via coreAPI
Open
#6 726 ouverte le 24 oct. 2019
help wantedkind/enhancement
Métriques du dépôt
- Stars
- (13 906 stars)
- Métriques de merge PR
- (Merge moyen 4j 2h) (28 PRs mergées en 30 j)
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!