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

Research Bitswap extension to avoid the top-level index in share.EDStore #1122

Closed
Tracked by #1099
Wondertan opened this issue Sep 16, 2022 · 1 comment
Closed
Tracked by #1099
Assignees
Labels
area:shares Shares and samples

Comments

@Wondertan
Copy link
Member

Wondertan commented Sep 16, 2022

Context

Based on #1099, disk usage will increase from the top-level index. This is a temporary solution and the index will have to be removed. LNs know which block they sample and can provide DataRoot's hash together with sample request over Bitswap, removing the need for hash-to-eds-file mapping. This requires us to either facilitate the implementation of Bitswap's auth extension or propose a custom Bitswap message extension. Subsequently, the Blockstore implementation provided via EDSStore would have to be changed to expect DataRoot's hash to be passed through thecontext.Context.

@Wondertan Wondertan self-assigned this Sep 16, 2022
@Wondertan Wondertan added the area:shares Shares and samples label Sep 16, 2022
@Wondertan
Copy link
Member Author

We found a way by using custom multihash which is now implemented in #2675

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:shares Shares and samples
Projects
No open projects
Archived in project
Development

No branches or pull requests

1 participant