sectorNodes (19)

Finalized

The sectorNodes message is the response to a getSectorNodes request. It provides the requester with a list of full presence objects for nodes that belong to the specified network sector.

This allows a node to discover and connect to the relevant peers for routing and other sector-specific operations.

Core Data Types

Payload Structure

FieldData TypeMinMaxDescription
sectorPrefixIxiBytes1010The 10-byte prefix of the sector this response is for. Echoes the value from the request.
presenceCountIxiVarUInt0The number of Presence entries that follow in this message.
presencesPresence[]An array of presenceCount full presence entries.

Presence Entry Structure

Each entry in the presences array is a complete, serialized Presence object.

FieldData TypeDescription
presenceDataIxiBytesThe full binary representation of a single Presence object. The internal structure of this object is defined in the Presences Data Structure document.

Behavioral Notes

  • A node receiving this message should parse the list of Presence objects.
  • This information can be used to update local routing tables and to establish new connections with nodes in the target sector.