From 20903a5fb26e90ef4b94d157927c3e82bb1893c2 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Thu, 28 Jan 2021 16:42:27 +0100 Subject: updated server package such that it uses namespaces --- instance.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'instance.go') 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 /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 { -- cgit v1.2.3