-
-
Notifications
You must be signed in to change notification settings - Fork 0
Config
Aras14HD edited this page Oct 9, 2021
·
5 revisions
- Max bandwidth (excluding direct)
- Distances (array)
- UUIDs
- Supported Message types (array)
- Supported Standard versions (array)
Both nodes send their settings as JSON (Max bandwidth; UUID; Supported Message types;Supported Standard versions)
sets how much data can be sent within a second (excluding direct messages)
- One node sends their preferred bandwidth
- The other node saves it
- The lower Max bandwidth of the contacts is used
Only the message types that both nodes support are used
The newest version that both nodes Support is used
Getting new distance:
- If any contact has a distance equal or lower than your own
- Set own distance one higher than lowest of neighbors (if over limit remove)
- Else
- Send message type 1.2 to your contacts (excluding contact whose distance changed/was excluded)
- Set own distance one higher than the lowest response (if over limit remove)
When getting asked for your distance excluding contact (message type 1.2):
- Get new distance (excluding the contact, that asked)
- Respond with that distance (if over limit respond with FF)