PeerAuthenticator

org.sigilaris.node.gossip.PeerAuthenticator
trait PeerAuthenticator[F[_]]

Authenticates a peer identity during handshake.

Type parameters

F

the effect type

Attributes

Source
Contracts.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

Authenticates the given peer, returning the verified identity or a rejection.

Authenticates the given peer, returning the verified identity or a rejection.

Value parameters

peer

the peer identity to authenticate

Attributes

Returns

the authenticated identity or a handshake rejection

Source
Contracts.scala