toMeshNode

fun NodeInfo.toMeshNode(nowEpochSeconds: Int): MeshNode(source)

Creates a MeshNode snapshot from this NodeInfo at the given time.

Return

a MeshNode with pre-computed status fields

Since

0.1.0

Parameters

nowEpochSeconds

current Unix epoch seconds — used to determine MeshNode.isOnline