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

Use v2::api::Proof<V> over proof::Proof #215

Merged
merged 1 commit into from
Aug 24, 2023
Merged

Conversation

rkuris
Copy link
Collaborator

@rkuris rkuris commented Aug 24, 2023

This adds generics for the storage of the nodes. It would be amazing if the proof shared the node storage with the actual node in shale, and this is one step toward getting us there.

Additionally, in order to implement the new v2 api we need proofs to be the new proofs

@rkuris rkuris force-pushed the rkuris/bullet-proof-generics branch from adc8370 to 510388d Compare August 24, 2023 17:14
Right now we just use Vec<[u8]> but it would be nifty to have proofs
that can share node storage via references instead of allocating space
for them.
@rkuris rkuris force-pushed the rkuris/bullet-proof-generics branch from d0e0308 to 87511de Compare August 24, 2023 17:16
@rkuris rkuris changed the title Rkuris/bullet proof generics Use v2::api::Proof<V> over proof::Proof Aug 24, 2023
@rkuris rkuris marked this pull request as ready for review August 24, 2023 17:19
@rkuris rkuris merged commit 88b731e into main Aug 24, 2023
5 checks passed
@rkuris rkuris deleted the rkuris/bullet-proof-generics branch August 24, 2023 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants