Add comments to test vector output linking to source
This commit is contained in:
parent
7aebe58a58
commit
c795bb6ef7
|
@ -61,6 +61,7 @@ def main():
|
|||
vcrb: [u8; 32],
|
||||
};
|
||||
|
||||
// From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/sapling_generators.py
|
||||
let sapling_generators = SaplingGenerators {
|
||||
skb: [
|
||||
%s
|
||||
|
|
|
@ -102,6 +102,7 @@ def main():
|
|||
note_nf: [u8; 32],
|
||||
};
|
||||
|
||||
// From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/sapling_key_components.py
|
||||
let test_vectors = vec![''')
|
||||
for i in range(0, 10):
|
||||
sk = SpendingKey(bytes([i] * 32))
|
||||
|
|
|
@ -85,6 +85,7 @@ def main():
|
|||
rsig: [u8; 64],
|
||||
};
|
||||
|
||||
// From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/sapling_signatures.py
|
||||
let test_vectors = vec![''')
|
||||
for i in range(0, 10):
|
||||
sk = rj.gen_private()
|
||||
|
|
Loading…
Reference in New Issue