frostfs-node/pkg/core/netmap/keys.go
Elizaveta Chichindaeva cc7a723d77 [] English Check
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-11 10:40:02 +03:00

7 lines
240 B
Go

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