aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-12-02 17:15:31 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-12-02 17:15:31 +0100
commit30d3088eacd39c856fc8ae4e07ebb045b17357d2 (patch)
treeba9c27768cd67813f7a8344be7cc7c127021e295
parent4784c16f8f55a212d933e73c518369bd739faadb (diff)
added todo on namespaces in checksum entries
-rw-r--r--type.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/type.go b/type.go
index 564e185..90dff85 100644
--- a/type.go
+++ b/type.go
@@ -66,6 +66,7 @@ type InclusionProofV1 struct {
// ChecksumV1 associates a leaf type as defined by markdown/api.md
type ChecksumV1 struct {
+ // TODO: refactor package as `Namespace`, s.t., start is sha256(anchor pub)
Package []byte `tls:"minlen:1,maxlen:255"`
Checksum []byte `tls:"minlen:1,maxlen:64"`
}