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

rpc: request block data through IPLD #189

Closed
4 tasks
tac0turtle opened this issue Mar 9, 2021 · 1 comment
Closed
4 tasks

rpc: request block data through IPLD #189

tac0turtle opened this issue Mar 9, 2021 · 1 comment
Labels
C:rpc Component: RPC

Comments

@tac0turtle
Copy link
Collaborator

Summary

As the migration to DA proofs begins the question arises on how to retrieve the required data when a user requests it via the RPC.

Problem Definition

LL-core does not store the block data, it must request the user requested data from the IPLD plugin.

Proposal

Define an interface within the IPLD plugin that is passed into the RPC layer. This interface should define getting block data.

The rpc layer will need to use both the local storage (ll-core) and IPLD plugin to get the requested info.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@tac0turtle tac0turtle added the C:rpc Component: RPC label Mar 9, 2021
@tac0turtle tac0turtle changed the title rpc: interface to request data through IPLD rpc: request block data through IPLD Mar 9, 2021
@liamsi
Copy link
Member

liamsi commented Jul 1, 2021

Now that validators and full node all store the data this will be easier: the nodes will all have the data locally and can reply just as before. Only difference might be that the data ist store (locally) in the ipfs data store instead of the tendermint store.

@liamsi liamsi closed this as completed Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:rpc Component: RPC
Projects
None yet
Development

No branches or pull requests

2 participants