Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eds: Store.CARBlockstore #1427

Closed
Tracked by #1099
Wondertan opened this issue Dec 2, 2022 · 1 comment
Closed
Tracked by #1099

eds: Store.CARBlockstore #1427

Wondertan opened this issue Dec 2, 2022 · 1 comment
Assignees
Labels
area:shares Shares and samples kind:feat Attached to feature PRs needs:triage

Comments

@Wondertan
Copy link
Member

Wondertan commented Dec 2, 2022

CARBlockstore method returns a [Blockstore][blockstore] interface implementation instance, providing random access
over share and NMT Merkle proof in a specific EDS identified by DataHash. It is required for FNs/BNs to enable reading
data by namespace
.

NOTES:

  • The Blockstore does not store whole Celestia Blocks, but IPFS blocks. We represent Merkle proofs and shares in IPFS
    blocks.
// CARBlockstore returns an IPFS Blockstore providing access to individual shares/nodes of a specific EDS identified by 
// DataHash and registered on the Store. NOTE: The Blockstore does not store whole Celestia Blocks but IPFS blocks. 
// We represent `shares` and NMT Merkle proofs as IPFS blocks and IPLD nodes so Bitswap can access those.
func (s *Store) CARBlockstore(DataHash) (blockstore.Blockstore, error)
@distractedm1nd
Copy link
Collaborator

Closed with #1395 , must have not linked correctly.

@distractedm1nd distractedm1nd added area:shares Shares and samples kind:feat Attached to feature PRs labels Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:shares Shares and samples kind:feat Attached to feature PRs needs:triage
Projects
No open projects
Archived in project
Development

No branches or pull requests

2 participants