-
Notifications
You must be signed in to change notification settings - Fork 933
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
IPLD/NMT improvements #183
Comments
This sounds good, but I have some questions
would we have to know square size for that?
I think I'm missing something here. Mind elaborating on this a bit more? What if some non-leaf nodes, along with their respective leaf nodes, can't be found? |
Referencing this here as it is highly related: #244 (comment) |
And this: #244 (comment) |
@liamsi, I made a separate issue out of this. Even though they are related, your comments deserve a separate issue. |
Why can't it be avoided today? Storage format is an implementation detail. So long as you can losslessly convert between formats, it doesn't matter what it's stored as. |
@adlerjohn you are right. It can be avoided today. See celestiaorg/nmt#55 (comment) |
@adlerjohn, it can be avoided. My understanding was that we have to store everything we commit to via nmt.Push, but I missed that we can avoid storing some pieces of shares on the fly via Visitor in nmt and add them on the fly as well. However, as pointed out in the linked nmt issue, this is somewhat hacky, and, actually, a leaky abstraction that should be avoided ideally. |
Grooming 12/07/2022:
|
We need this before incentivized testnet. |
The description is now up to date |
Right now, we store/exchange on the network redundant data that brings no benefits, and we should fix this together during BlockSync Overhaul:
nmtLeafNode
links to an additional IPLD Node, while it should keep that body inside itselfThe text was updated successfully, but these errors were encountered: