aboutsummaryrefslogtreecommitdiff
path: root/spec/tor-spec/creating-circuits.md
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2024-02-13 14:18:30 -0500
committerNick Mathewson <nickm@torproject.org>2024-02-13 14:18:30 -0500
commiteb1886396dcc69303c2bb6ec1fbedc9f9eeae4f7 (patch)
tree695b96a2b4e38beb512650365d1d0fd6db935e5f /spec/tor-spec/creating-circuits.md
parentf5ef6e7ac1211570536cd2a25ae53705a2465152 (diff)
downloadtorspec-eb1886396dcc69303c2bb6ec1fbedc9f9eeae4f7.tar.gz
torspec-eb1886396dcc69303c2bb6ec1fbedc9f9eeae4f7.zip
Replace "payload" with "body"
We had used these terms inconsistently; "payload" was far less common. Part of #253.
Diffstat (limited to 'spec/tor-spec/creating-circuits.md')
-rw-r--r--spec/tor-spec/creating-circuits.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/tor-spec/creating-circuits.md b/spec/tor-spec/creating-circuits.md
index 10e23b4..deb6b83 100644
--- a/spec/tor-spec/creating-circuits.md
+++ b/spec/tor-spec/creating-circuits.md
@@ -44,11 +44,11 @@ these steps:
When an onion router receives an EXTEND relay message, it sends a CREATE
cell to the next onion router, with the enclosed onion skin as its
-payload.
+body.
When an onion router receives an EXTEND2 relay message, it sends a CREATE2
cell to the next onion router, with the enclosed HLEN, HTYPE, and HDATA
-as its payload. The initiating onion router chooses some circID not yet
+as its body. The initiating onion router chooses some circID not yet
used on the connection between the two onion routers. (But see section
["Choosing circuit IDs in create cells"](./create-created-cells.md#choosing-circid))
@@ -69,7 +69,7 @@ circuit on the given connection with the given circID, it drops the
cell. Otherwise, after receiving the CREATE/CREATE2 cell, it completes
the specified handshake, and replies with a CREATED/CREATED2 cell.
-Upon receiving a CREATED/CREATED2 cell, an onion router packs it payload
+Upon receiving a CREATED/CREATED2 cell, an onion router packs its body
into an [EXTENDED/EXTENDED2](./create-created-cells.md#EXTEND) relay message, and sends
that message up the circuit. Upon receiving the EXTENDED/EXTENDED2 relay
message, the OP can retrieve the handshake material.