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

Remove need for sprout-groth16.key download #20

Closed
leto opened this issue Jun 18, 2019 · 3 comments
Closed

Remove need for sprout-groth16.key download #20

leto opened this issue Jun 18, 2019 · 3 comments

Comments

@leto
Copy link
Member

leto commented Jun 18, 2019

This 692MB file is not needed by Hush at all, but because librustzcash library is initialized by passing in Sapling keys (which are less than 50MB in total) AND the groth16 key, there is no way to initialize librustzcash without it.

This makes every Hush full node download almost 700MB for no reason, wasting bandwidth. This also increases the bandwidth bill of whoever pays to server the Zcash param files, for no good reason.

librustzcash should be able to init via ONLY sapling params files

@leto
Copy link
Member Author

leto commented Jun 19, 2019

Requested this feature upstream here: zcash/librustzcash#85

@leto
Copy link
Member Author

leto commented Jun 23, 2019

Some things to try:

  • Is it possible to give librustzcash an empty file with correct hash for groth16 and perhaps ignore some errors/warnings?
  • What would it take to make a new init function which does not take groth16 as an argument?

@leto
Copy link
Member Author

leto commented Jul 11, 2019

Done! Will be merged from duke branch soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant