on master help sign in
ships instead of @p, other small edits
823000cJONATHAN PAPROCKI
tutorials/arvo/ames.md+5−5
@@ -122,7 +122,7 @@ There is a 32-bit header followed by a variable width body.
122
122
123### Header
123### Header
124
124
125−The 32-bit header is given by the following data:
125+The 32-bit header is given by the following data, presented in order:
126
126
127 - 3 bits: Ames `protocol-version`,
127 - 3 bits: Ames `protocol-version`,
128 - 20 bits: a checksum as a truncated insecure hash of the body, done with
128 - 20 bits: a checksum as a truncated insecure hash of the body, done with
@@ -132,14 +132,14 @@ The 32-bit header is given by the following data:
132 - 1 bit: whether the packet is encrypted or not,
132 - 1 bit: whether the packet is encrypted or not,
133 - 4 bits: unused.
133 - 4 bits: unused.
134
134
135− Every packet sent between `@p`'s is encrypted except for self-signed attestation packets from 128-bit comets.
135+ Every packet sent between ships is encrypted except for self-signed attestation packets from 128-bit comets.
136
136
137### Body
137### Body
138
138
139−The body is of variable length and consists of three parts:
139+The body is of variable length and consists of three parts in this order:
140
140
141− - The `@p` of the sender,
141+ - The `@p` of the sending ship,
142− - The `@p` of the receiver,
142+ - The `@p` of the receiving ship,
143 - The payload, which is the `+jam` (i.e. serialization) of the noun `[origin content]`.
143 - The payload, which is the `+jam` (i.e. serialization) of the noun `[origin content]`.
144
144
145 `origin` is the IP and port of the original sender if the packet was proxied
145 `origin` is the IP and port of the original sender if the packet was proxied