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

Implement reading from IPLD merkle dag #194

Closed
2 of 4 tasks
liamsi opened this issue Mar 9, 2021 · 0 comments · Fixed by #232
Closed
2 of 4 tasks

Implement reading from IPLD merkle dag #194

liamsi opened this issue Mar 9, 2021 · 0 comments · Fixed by #232
Assignees
Labels
C:data-availability Component: Data Availability Proofs C:dht DHT and p2p related issues (IPFS mostly)

Comments

@liamsi
Copy link
Member

liamsi commented Mar 9, 2021

Summary

The methods that read from IPLD as drafted in #170 / adr 002 need to be implemented too.

Problem Definition

We need a simple API that can:

  • sample a given number of chunks
  • reconstruct the whole block

Proposal

Implement the methods ValidateAvailability, RetrieveBlockData (and GetLeafData). Given that this will essentially replace the block store, we should create some lightweight "DagGetter" object that provides the first two methods.

ref: #190
ref: https://github.com/lazyledger/lazyledger-core/blob/master/docs/lazy-adr/adr-001-block-propagation.md#disk-storage


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:data-availability Component: Data Availability Proofs C:dht DHT and p2p related issues (IPFS mostly)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants