Skip to content

Commit 0122823

Browse files
committed
universe: rename IgnoreTree interface to IgnoreTreeArchive
Structs implementing this interface can store and retrieve ignore tree leaves for multiple assets. This is evident since each method is parameterized by asset.Specifier.
1 parent 080c1ab commit 0122823

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

universe/interface.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,9 +1297,9 @@ type AuthIgnoreTuples = []AuthenticatedIgnoreTuple
12971297
// ListTuplesResp is the response to a query for ignore tuples.
12981298
type ListTuplesResp = lfn.Result[lfn.Option[IgnoreTuples]]
12991299

1300-
// IgnoreTree represents a tree of ignore tuples which can be used to
1300+
// IgnoreTreeArchive represents an archive of ignore trees which can be used to
13011301
// effectively cache rejection of invalid proofs.
1302-
type IgnoreTree interface {
1302+
type IgnoreTreeArchive interface {
13031303
// Sum returns the sum of the ignore tuples for the given asset.
13041304
Sum(context.Context, asset.Specifier) SumQueryResp
13051305

0 commit comments

Comments
 (0)