diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-17 15:34:33 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-17 15:34:33 +0100 |
commit | c11006fb89bcac7fdfc2278990b2b1a3a3553ba9 (patch) | |
tree | 7dc1547912ba1a018b56e8e1dc4e3fe27d4cbff9 /instance_test.go | |
parent | f02d9ad52b4b70fc1af8224201cf993faa82eaee (diff) |
added type tests
As a result these changes were made:
- Simplified a few New* functions
- Allowed empty inclusion and consistency proofs, which is in contrast
to not being able to marshal them due to `tls:"minlen:1"`. For example,
an inclusion proof will be empty for a Merkle tree of size 1.
- Disallowed empty signatures and chains in a leaf's Appendix
- Removed unnecessary examples
Diffstat (limited to 'instance_test.go')
0 files changed, 0 insertions, 0 deletions