Reduce differences between unified_full_viewing_keys.py and unified_incoming_viewing_keys.py.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
e193d8775a
commit
72aa4e9962
|
@ -1,21 +1,17 @@
|
|||
#!/usr/bin/env python3
|
||||
import sys; assert sys.version_info[0] >= 3, "Python 3 required."
|
||||
|
||||
import math
|
||||
from random import Random
|
||||
import struct
|
||||
|
||||
from cryptography.hazmat.primitives.asymmetric import ec
|
||||
from cryptography.hazmat.primitives.serialization import PublicFormat, Encoding
|
||||
|
||||
from zcash_test_vectors.output import render_args, render_tv, Some
|
||||
from zcash_test_vectors.rand import Rand, randbytes
|
||||
from zcash_test_vectors.zc_utils import write_compact_size, parse_compact_size
|
||||
from zcash_test_vectors.f4jumble import f4jumble, f4jumble_inv
|
||||
from zcash_test_vectors.orchard import key_components as orchard_key_components
|
||||
from zcash_test_vectors.sapling import zip32 as sapling_zip32
|
||||
from zcash_test_vectors.unified_encoding import encode_unified, decode_unified
|
||||
from zcash_test_vectors.unified_encoding import P2PKH_ITEM, P2SH_ITEM, SAPLING_ITEM, ORCHARD_ITEM
|
||||
from zcash_test_vectors.unified_encoding import P2PKH_ITEM, SAPLING_ITEM, ORCHARD_ITEM
|
||||
|
||||
def main():
|
||||
args = render_args()
|
||||
|
|
Loading…
Reference in New Issue