-
Notifications
You must be signed in to change notification settings - Fork 106
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-209: Prohibit Negative Shielded Chain Value Pool Balances - Implementation #1895
Labels
A-consensus
Area: Consensus rule updates
C-enhancement
Category: This is an improvement
NU Sprout
Network Upgrade: Sprout specific tasks (before Overwinter)
NU-0 Overwinter
Network Upgrade: Overwinter specific tasks (Sprout after Overwinter)
NU-1 Sapling
Network Upgrade: Sapling specific tasks
NU-2 Blossom
Network Upgrade: Blossom specific tasks
NU-3 Heartwood
Network Upgrade: Heartwood specific tasks
NU-4 Canopy
Network Upgrade: Canopy specific tasks
NU-5
Network Upgrade: NU5 specific tasks
Milestone
Comments
mpguerra
added
C-enhancement
Category: This is an improvement
S-needs-triage
Status: A bug report needs triage
A-consensus
Area: Consensus rule updates
NU Sprout
Network Upgrade: Sprout specific tasks (before Overwinter)
NU-0 Overwinter
Network Upgrade: Overwinter specific tasks (Sprout after Overwinter)
NU-1 Sapling
Network Upgrade: Sapling specific tasks
NU-2 Blossom
Network Upgrade: Blossom specific tasks
NU-3 Heartwood
Network Upgrade: Heartwood specific tasks
NU-4 Canopy
Network Upgrade: Canopy specific tasks
NU-5
Network Upgrade: NU5 specific tasks
labels
Mar 12, 2021
I explicitly listed all 3 shielded value pools in this ticket, and added the transparent pool consensus rule as well. (We might as well implement all 4 at the same time, the data structures and code are very similar.) |
mpguerra
added
P-Medium
and removed
S-needs-triage
Status: A bug report needs triage
labels
Mar 23, 2021
This was referenced May 4, 2021
teor2345
changed the title
ZIP-209: Prohibit Negative Shielded Chain Value Pool Balances - Implementation
ZIP-209: Prohibit Negative Chain Value Pool Balances - Implementation
Jun 24, 2021
teor2345
changed the title
ZIP-209: Prohibit Negative Chain Value Pool Balances - Implementation
ZIP-209: Prohibit Negative Shielded Chain Value Pool Balances - Implementation
Jun 24, 2021
This implementation will be done following the specs at #2430 |
This was referenced Aug 3, 2021
This was referenced Aug 10, 2021
This is the last PR we have to close this issue when merged: #2652 |
3 tasks
3 tasks
3 tasks
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
C-enhancement
Category: This is an improvement
NU Sprout
Network Upgrade: Sprout specific tasks (before Overwinter)
NU-0 Overwinter
Network Upgrade: Overwinter specific tasks (Sprout after Overwinter)
NU-1 Sapling
Network Upgrade: Sapling specific tasks
NU-2 Blossom
Network Upgrade: Blossom specific tasks
NU-3 Heartwood
Network Upgrade: Heartwood specific tasks
NU-4 Canopy
Network Upgrade: Canopy specific tasks
NU-5
Network Upgrade: NU5 specific tasks
Motivation
ZIP-209 defines how the consensus rules are altered such that blocks that produce negative shielded chain value pool balances are prohibited.
Specification
Transparent
Note: there is no explicit rule that the remaining balance in the transparent chain value pool must be non-negative. But it is implicit in the other consensus rules.
Sprout
https://zips.z.cash/protocol/protocol.pdf#joinsplitbalance
Sapling
https://zips.z.cash/protocol/protocol.pdf#saplingbalance
Orchard
https://zips.z.cash/protocol/protocol.pdf#orchardbalance
Solution
We should implement ZIP-209 in Zebra for the Transparent, Sprout, Sapling, and Orchard pools.
The text was updated successfully, but these errors were encountered: