Finish retroactively enabling ZIP 216 before NU5 #6396
Labels
A-consensus
Area: Consensus rules
A-sapling
Area: Sapling protocol
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
NU5
Network upgrade: NU5-specific tasks
Milestone
In #6000 we enabled ZIP 216 for blocks prior to NU5 during Sapling proof verification. However, we still have ZIP 216 conditionals present in the note decryption logic, due to Sapling outgoing plaintexts being exposed to the consensus rules as part of Sapling coinbase outputs.
We should strip out these conditionals and apply ZIP 216 uniformly before NU5, assuming that all Sapling coinbase outputs satisfied it.
The text was updated successfully, but these errors were encountered: