-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5531 from oasisprotocol/ptrus/feature/proofs-expl…
…icit-internal mkvs/proofs: Remove implicit internal leaf nodes from proofs
- Loading branch information
Showing
15 changed files
with
955 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Support for Proofs Without Implicit Internal Leaf Nodes | ||
|
||
Previously, internal MKVS nodes in proofs included full leaf nodes implicitly. | ||
With this update, leaf nodes are explicitly added as regular child nodes | ||
within the proof structure. This modification optimizes proof sizes by | ||
avoiding inclusion of potentially large values associated with leaf nodes that | ||
are not directly relevant to the proof's target node. | ||
|
||
This change maintains backward compatibility. Existing proofs are unmarshaled | ||
as version 0, while version 1 proofs adopt the new scheme. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.