You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When blocks started showing up on mainnet after NU5 with many shielded Orchard transactions, we observed aberrant zebrad verification behavior that helped us identify some bugs already. We should include these blocks (at least one) as test vectors.
dconnolly
changed the title
Add a block test vector that contains many shielded Orchard transactions
Add an NU5 block test vector that contains many shielded Orchard transactions
Jul 12, 2022
I wrote a script for generating (most of) the necessary data to benchmark verification of specific heavy blocks (the heaviest I could find at their respective times) using a mainnet zcashd, which we use to avoid checking in a large amount of data that is only used for performance benchmarks. The script collects the noted blocks and their transparent inputs (in zcashd's coins LevelDB format), and writes out a tarball. We then pair that with some hard-coded Sapling and Orchard trees (that I extracted by hand, as the RPCs didn't quite have enough expressiveness to expose them) that are needed to fully-validate the blocks.
(For reference, the usage of these in our benchmarks is ./qa/zcash/performance-measurements.sh time connectblockslow or connectblocksapling / connectblockorchard)
Motivation
When blocks started showing up on mainnet after NU5 with many shielded Orchard transactions, we observed aberrant zebrad verification behavior that helped us identify some bugs already. We should include these blocks (at least one) as test vectors.
Related Work
#4775
The text was updated successfully, but these errors were encountered: