aboutsummaryrefslogtreecommitdiff
path: root/instance.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-01-28 16:42:27 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-01-28 16:42:27 +0100
commit20903a5fb26e90ef4b94d157927c3e82bb1893c2 (patch)
tree15deb43e7ea08d991271e29ce8eb4809f5742ef4 /instance.go
parent103c356061b734012afe024c74178d7aeb5c4d7e (diff)
updated server package such that it uses namespaces
Diffstat (limited to 'instance.go')
-rw-r--r--instance.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/instance.go b/instance.go
index f013153..3ca14b8 100644
--- a/instance.go
+++ b/instance.go
@@ -25,7 +25,6 @@ type LogParameters struct {
TreeId int64 // used internally by Trillian
Prefix string // e.g., "test" for <base>/test
MaxRange int64 // max entries per get-entries request
- MaxChain int64 // max submitter certificate chain length
Namespaces *namespace.NamespacePool // trust namespaces
Signer crypto.Signer
HashType crypto.Hash // hash function used by Trillian
@@ -48,7 +47,7 @@ func (i Instance) String() string {
}
func (lp LogParameters) String() string {
- return fmt.Sprintf("LogId(%s) TreeId(%d) Prefix(%s) MaxRange(%d) MaxChain(%d) NumAnchors(%d)", lp.id(), lp.TreeId, lp.Prefix, lp.MaxRange, lp.MaxChain, len(lp.Namespaces.List()))
+ return fmt.Sprintf("LogId(%s) TreeId(%d) Prefix(%s) MaxRange(%d) Namespaces(%d)", lp.id(), lp.TreeId, lp.Prefix, lp.MaxRange, len(lp.Namespaces.List()))
}
func (e Endpoint) String() string {