ipfs/kubo
View on GitHubcanonical method for checking locality of a block via coreAPI
Open
#6726 opened on Oct 24, 2019
help wantedkind/enhancement
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!