Versions in this module Expand all Collapse all v0 v0.1.0 Jun 22, 2023 Changes in this version + const KnockSize + var ErrFromSelfDial = fmt.Errorf("knock from self-dial") + var ErrInvalidSignature = fmt.Errorf("knock has invalid signature") + var ErrSizeMismatch = fmt.Errorf("knock size mismatch") + func BuildKnock(other types.PeerID, self types.PeerID, secretKey ed25519.PrivateKey) []byte + func VerifyKnock(self types.PeerID, knock []byte) (*types.PeerID, error)