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

NetworkUpgrade::NU5 and network protocol version #1797

Closed
5 tasks done
teor2345 opened this issue Feb 22, 2021 · 7 comments · Fixed by #1823
Closed
5 tasks done

NetworkUpgrade::NU5 and network protocol version #1797

teor2345 opened this issue Feb 22, 2021 · 7 comments · Fixed by #1823
Assignees
Labels
A-consensus Area: Consensus rule updates A-rust Area: Updates to Rust code C-design Category: Software design work C-enhancement Category: This is an improvement NU-5 Network Upgrade: NU5 specific tasks
Milestone

Comments

@teor2345
Copy link
Contributor

teor2345 commented Feb 22, 2021

Is your feature request related to a problem? Please describe.

We want to add a NetworkUpgrade::NU5 network upgrade variant, and a network protocol version for NU5.

As part of this change, we need to write a draft NU5 ZIP.

Describe the solution you'd like

For future reference, we also made this change:

Describe alternatives you've considered

These changes are required for NU5.

Additional context

NU4 ZIP: https://zips.z.cash/zip-0251
NU5 ZIP: zcash/zips#446

@teor2345 teor2345 added C-design Category: Software design work A-consensus Area: Consensus rule updates A-rust Area: Updates to Rust code C-enhancement Category: This is an improvement S-needs-triage Status: A bug report needs triage NU-5 Network Upgrade: NU5 specific tasks P-Medium labels Feb 22, 2021
@teor2345 teor2345 added this to the 2021 Sprint 4 milestone Feb 22, 2021
@teor2345 teor2345 changed the title NU5 NetworkUpgrade variant and network protocol version NetworkUpgrade::NU5 and network protocol version Feb 22, 2021
@teor2345
Copy link
Contributor Author

We've talked to the zcashd team, and they're happy for us to write the draft NU5 ZIP.

@teor2345
Copy link
Contributor Author

We've talked to the zcashd team, and they're happy for us to write the draft NU5 ZIP.

The draft ZIP is at zcash/zips#446 , it has passed initial review.

@mpguerra mpguerra removed the S-needs-triage Status: A bug report needs triage label Feb 25, 2021
@teor2345 teor2345 mentioned this issue Feb 26, 2021
9 tasks
@oxarbitrage
Copy link
Contributor

It looks like NetworkUpgrade::NU5 should be NetworkUpgrade::Orchard ?

@str4d
Copy link
Contributor

str4d commented Feb 27, 2021

No. Orchard is the name of the proposed new shielded pool, not the name of the upgrade (which as proposed includes things other than Orchard). We made this mistake for Sapling (naming the upgrade after the pool), and it has caused non-trivial confusion.

@oxarbitrage
Copy link
Contributor

So, to be extra clear. The name of the upgrade will be NU5 even if previous ones had names like Sapling, Blossom, etc. Is that correct or NU5 will actually have a name(different than Orchard)?

@oxarbitrage
Copy link
Contributor

Forget #1797 (comment), the code name is actually NU5 according to the draft zip: https://github.com/teor2345/zips/blob/zip-252-nu5/zip-0252.rst#terminology

Thanmk you @str4d

@teor2345
Copy link
Contributor Author

teor2345 commented Mar 1, 2021

So, to be extra clear. The name of the upgrade will be NU5 even if previous ones had names like Sapling, Blossom, etc. Is that correct or NU5 will actually have a name(different than Orchard)?

The code-name for the sixth Zcash network upgrade has not been chosen yet.

I've updated the draft ZIP to reflect that:
https://github.com/zcash/zips/pull/446/files#r584385297

There are three possible outcomes for Zebra:

  • There is no code name chosen, and the enum keeps getting called NU5
  • The community chooses a code name, the enum keeps getting called NU5, and everything works
  • The community chooses a code name, we use fastmod or a similar tool to easily change NU5 to that name

(We don't need to make that decision now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-consensus Area: Consensus rule updates A-rust Area: Updates to Rust code C-design Category: Software design work C-enhancement Category: This is an improvement NU-5 Network Upgrade: NU5 specific tasks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants