diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-11-04 17:31:00 -0500 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-11-04 17:31:00 -0500 |
| commit | 6c63bfce69f0b0087526879f49d36071ddc4b9d9 (patch) | |
| tree | 9cca9b83366d21af08a680962eb6c8461353d474 /node/Packet.hpp | |
| parent | ac4e657aaa6c1c433438c18acefb8e7be8623f20 (diff) | |
| download | infinitytier-6c63bfce69f0b0087526879f49d36071ddc4b9d9.tar.gz infinitytier-6c63bfce69f0b0087526879f49d36071ddc4b9d9.zip | |
File transfer work, add identities for validation of updates.
Diffstat (limited to 'node/Packet.hpp')
| -rw-r--r-- | node/Packet.hpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp index 05c6f3a4..d476e89e 100644 --- a/node/Packet.hpp +++ b/node/Packet.hpp @@ -619,12 +619,12 @@ public: /* Request information about a shared file (for software updates): * <[1] flags, currently unused and must be 0> - * <[2] 16-bit length of filename> + * <[1] 8-bit length of filename> * <[...] name of file being requested> * * OK response payload (indicates that we have and will share): * <[1] flags, currently unused and must be 0> - * <[2] 16-bit length of filename> + * <[1] 8-bit length of filename> * <[...] name of file being requested> * <[64] full length SHA-512 hash of file contents> * <[4] 32-bit length of file in bytes> @@ -636,6 +636,10 @@ public: * <[2] 16-bit length of filename> * <[...] name of file being requested> * + * This is used for distribution of software updates and in the future may + * be used for anything else that needs to be globally distributed. It + * is not designed for end-user use for other purposes. + * * Support is optional. Nodes should return UNSUPPORTED_OPERATION if * not supported or enabled. */ @@ -657,6 +661,10 @@ public: * <[4] 32-bit index of desired chunk> * <[2] 16-bit length of desired chunk> * + * This is used for distribution of software updates and in the future may + * be used for anything else that needs to be globally distributed. It + * is not designed for end-user use for other purposes. + * * Support is optional. Nodes should return UNSUPPORTED_OPERATION if * not supported or enabled. */ |
