Run on control center
Program type listener
Communicates with Online Program
Description Server to allow nodes to transition their states.

Flow description

The registration server accepts state transition requests from nodes, encrypted using the AES encryption key for each specific node.

  1. Receive request. Determine the node ID and decrypt the request body as per the Node encryption protocol.
  2. Parse request as per the schema, and determine the requested state.
  3. Update the state of the node in the database. If the update failed or the transition was not valid, return an error.
  4. Return success as status 200 as per the Node encryption protocol.

Sequence diagram

Schema description

Decrypted request body

Length: 4 bytes

Fields

Bytes Name Description
[3:0]



nodeStatus



The number representing the new node state.
4: OFFLINE
8: LOADING
16: ONLINE
64: REVOKED