You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The NMTWrapper in celestia-core prepends to share (leaf nodes) an additional namespace, which is just a copy of real namespaces or the constant parity namespace.
Goal
Optimize data storage and network by removing this additional prepended namespace and automatically prepend it where needed.
Wondertan
changed the title
share/ipld: Remove dependency on duplicate prepended namespaceID
share/ipld: Remove duplicated namespace appended by NMTWrapper
Oct 24, 2022
Unfortunately, we cannot implement this(in a clean way without introducing additional complexity).
If we want to cut the additional namespace added by NMTWrapper, then we should add it back once we receive it from the network so that we can properly verify the integrity. Doing this requires namespaceHasher to know from which quadrant the share data is coming, which is not possible
Context
The NMTWrapper in celestia-core prepends to share (leaf nodes) an additional namespace, which is just a copy of real namespaces or the constant parity namespace.
Goal
Optimize data storage and network by removing this additional prepended namespace and automatically prepend it where needed.
Refs
celestiaorg/nmt#55 (comment)
The text was updated successfully, but these errors were encountered: