Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrChallengeMismatch warpnet.WarpError = "challenge mismatch" ErrChallengeSignatureInvalid warpnet.WarpError = "invalid challenge signature" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpoofChallenger ¶
type SpoofChallenger struct {
// contains filtered or unexported fields
}
func NewSpoofChallenger ¶
func NewSpoofChallenger(ctx context.Context) *SpoofChallenger
func (*SpoofChallenger) Challenge ¶
func (s *SpoofChallenger) Challenge( pubKey ic.PubKey, level int, streamF StreamFunc, ) (isRepeatable bool, err error)
type StreamFunc ¶
type StreamFunc func(coord []event.ChallengeSample) ([]event.ChallengeSolution, error)
Click to show internal directories.
Click to hide internal directories.