Kris Nuttycombe
|
3e77a9a158
|
Add test vectors for unified viewing keys.
Fixes #47
Co-authored-by: str4d <jack@electriccoin.co>
|
2021-12-10 10:06:51 -07:00 |
Daira Hopwood
|
bc6bc8a375
|
zc_utils.py: optionally enforce the MAX_SIZE limit (enforced by default).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2021-09-17 20:39:53 +01:00 |
Daira Hopwood
|
efee9dcb03
|
chmod +x for scripts and make the shebang/preamble consistent.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2021-09-15 18:03:47 +01:00 |
Daira Hopwood
|
f15c51c680
|
zc_utils.py: restore 2^64 - 1 test vector.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2021-09-15 17:59:52 +01:00 |
Daira Hopwood
|
fa1bd3773a
|
zc_utils: Enforce canonicity in parse_compact_size.
(It's not strictly needed for generating test vectors, but just in case this code gets reused.)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2021-08-30 23:50:53 +01:00 |
Daira Hopwood
|
810c8bf275
|
Simplify parse_compact_size usage.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2021-08-30 19:42:51 +01:00 |
Daira Hopwood
|
87e0a6b57c
|
zc_utils: Add support for parsing a compactSize.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2021-08-30 19:14:55 +01:00 |
Jack Grigg
|
acdfe06c87
|
Implement CompactSize helper
|
2018-08-20 12:26:48 +01:00 |