Package-level declarations

Types

Link copied to clipboard

Configuration aliases for multicast beacon discovery.

Link copied to clipboard

Shared compile-time constants used across the peer state machine: multicast transport parameters, datagram framing limits, and beacon rate limiting.

Functions

Link copied to clipboard
fun decodeBeacon(json: Json, bytes: ByteArray): NodeWire?

Decodes beacon-payload bytes back into a NodeWire, or returns null if the bytes don't parse — callers should treat null as "ignore this datagram" rather than as an error condition, since stray non-Krill UDP traffic on the multicast group is not unexpected.

Link copied to clipboard
fun encodeBeacon(json: Json, p: NodeWire): ByteArray

Encodes a NodeWire to UTF-8 JSON bytes suitable for a multicast datagram.

Link copied to clipboard

Returns true when this exception's message smells like a TLS / X.509 certificate validation failure.