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

[ZIP 2004] Remove the dependency of consensus on note encryption #917

Open
daira opened this issue Oct 22, 2024 · 1 comment
Open

[ZIP 2004] Remove the dependency of consensus on note encryption #917

daira opened this issue Oct 22, 2024 · 1 comment

Comments

@daira
Copy link
Collaborator

daira commented Oct 22, 2024

ZIP 213 added the ability for coinbase outputs to be shielded. An unfortunate side effect of this was to make consensus dependent on the details of note encryption, because these outputs are required to be validly encrypted with the zero key. From discussion with other Zcash protocol developers, I believe the consensus (no pun intended) is that this was a design mistake that has unnecessarily complicated the specification and implementation of consensus rules.

I intend to write a ZIP that disentangles note encryption from consensus, by instead requiring coinbase outputs for v6 and later transaction versions to be unencrypted. The disentanglement will only be complete once earlier transaction versions are no longer allowed on the network, but that is likely to happen in some later upgrade.

@str4d
Copy link
Collaborator

str4d commented Nov 5, 2024

The ZIP Editors (me, @nuttycom, @conradoplg, @arya2) agree that the ZIP draft as-written is an Update ZIP, and have assigned it ZIP 2004.

@str4d str4d changed the title [ZIP idea] Remove the dependency of consensus on note encryption [ZIP 2004] Remove the dependency of consensus on note encryption Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants