diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-27 13:50:56 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-27 13:50:56 -0800 |
| commit | f102fd7f92225fbe39ae69dda716530a4e5457e9 (patch) | |
| tree | 87ca67ce754085992dd6de8b31858dd38b529750 /node/Packet.hpp | |
| parent | 64774d0d4f552b2864abd969c6bc69c0ced3b2e1 (diff) | |
| download | infinitytier-f102fd7f92225fbe39ae69dda716530a4e5457e9.tar.gz infinitytier-f102fd7f92225fbe39ae69dda716530a4e5457e9.zip | |
Extend in-band world updates to handle moons too.
Diffstat (limited to 'node/Packet.hpp')
| -rw-r--r-- | node/Packet.hpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp index 0be19f8a..26e87af8 100644 --- a/node/Packet.hpp +++ b/node/Packet.hpp @@ -536,12 +536,17 @@ public: * <[1] software major version> * <[1] software minor version> * <[2] software revision> - * <[8] timestamp (ms since epoch)> + * <[8] timestamp for determining latench> * <[...] binary serialized identity (see Identity)> * <[1] destination address type> * [<[...] destination address to which packet was sent>] - * <[8] 64-bit world ID of current world> - * <[8] 64-bit timestamp of current world> + * <[8] 64-bit world ID of current planet> + * <[8] 64-bit timestamp of current planet> + * <[2] 16-bit number of moons> + * [<[1] 8-bit type ID of moon>] + * [<[8] 64-bit world ID of moon>] + * [<[8] 64-bit timestamp of moon>] + * [... additional moons ...] * * This is the only message that ever must be sent in the clear, since it * is used to push an identity to a new peer. @@ -567,7 +572,7 @@ public: * <[1] destination address type (for this OK, not copied from HELLO)> * [<[...] destination address>] * <[2] 16-bit length of world update or 0 if none> - * [[...] world update] + * [[...] updates to planets and/or moons] * * ERROR has no payload. */ |
