frostfs-node/pkg/core/netmap/keys.go

8 lines
251 B
Go
Raw Permalink Normal View History

package netmap
// AnnouncedKeys is an interface of utility for working with the announced public keys of the storage nodes.
type AnnouncedKeys interface {
// IsLocalKey checks if the key was announced by a local node.
IsLocalKey(key []byte) bool
}