-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove all references to children in InternalNode & use uncompressed …
…serialization (#354) * don't rely on the commitment in HashedNode change leaf serialization to add the leaf commitment there fix a few tests fix: incorrect size computation caused commitment overwrite fix some unit tests fix the batch unit test * declare paths for serialization * Add CommitmentBytes back in SerializedNode * fixes from replaying * fix: deepsource warnings * tree: avoid memory allocs while collecting paths (#371) Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> * pbss: serialized points in uncompressed form (#370) * config: rename serialized point size constant and value to uncompressed form Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> * switch to uncompressed serialization Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> --------- Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> * tree: transform first layer to hashed nodes after serializing (#372) * tree: after serializing transform first layer to hashed nodes Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> * tree: add comment about temporary code Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> --------- Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> * tree: make HashedNode non-pointer and fieldless (#373) * tree: make HashedNode non-pointer and fieldless Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> * lints Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> * hashednode: add panic comment Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> * hashednode: add label in toDot Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> --------- Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> * rebase fix Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> --------- Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> Co-authored-by: Ignacio Hagopian <jsign.uy@gmail.com>
- Loading branch information
Showing
11 changed files
with
233 additions
and
275 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
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
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.