Zkkeyd activity summary for simulation work
The following summarizes the activities of the zkkeyd, in a manner suitable for
developing a simulation of the entire freedom network.
Start Up
- Get information from NIQS. Connect, frNetInfoPopulate(),
frNiqsGetTokenInfo(), Disconnect.
- Open kqd socket. (Doesn't contact kqd, since it's UDP.)
- Open NISS connection. frStatClientConnect().
- Fetch NISS public key.
- frNetInfoChildCreate().
Receipt of new connection
Regular actions while running
- update netinfo. frNetInfoChildCtxGetNiBuf(),-> frNetInfoLoad(),
frStatClientDisconnect(), frStatClientConnect()
- submit stats. frStatClientSubmitUpdate()