aboutsummaryrefslogtreecommitdiff
path: root/sth.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-17 15:34:33 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-17 15:34:33 +0100
commitc11006fb89bcac7fdfc2278990b2b1a3a3553ba9 (patch)
tree7dc1547912ba1a018b56e8e1dc4e3fe27d4cbff9 /sth.go
parentf02d9ad52b4b70fc1af8224201cf993faa82eaee (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 'sth.go')
0 files changed, 0 insertions, 0 deletions