Prop. 159 more peer test cleanups

This commit is contained in:
zzz
2022-02-16 08:17:26 -05:00
parent 9e22b4efd8
commit 99a3ab047f

View File

@@ -4634,7 +4634,7 @@ Termination (TBD) 6 9 typ.
Relay Request 7 TBD Relay Request 7 TBD
Relay Response 8 TBD Relay Response 8 TBD
Relay Intro 9 TBD Relay Intro 9 TBD
Peer Test 10 TBD Peer Test 10 varies
Next Nonce 11 TBD Next Nonce 11 TBD
ACK 12 varies ACK 12 varies
Address 13 9 or 21 Address 13 9 or 21
@@ -5193,7 +5193,10 @@ Notes:
PeerTest PeerTest
`````````````` ``````````````
TODO this is the SSU 1 flavor, to be updated Sent either in a Data message in-session,
or a Peer Test message out-of-session.
See Peer Test Process section below.
.. raw:: html .. raw:: html
@@ -5201,9 +5204,9 @@ TODO this is the SSU 1 flavor, to be updated
+----+----+----+----+----+----+----+----+ +----+----+----+----+----+----+----+----+
| 10 | size | msg|code|flag| | | 10 | size | msg|code|flag| |
+----+----+----+----+----+----+ + +----+----+----+----+----+----+ +
| Alice or Charlie's | | Alice or Charlie |
+ router hash (Alice's is sent to + + router hash (Alice is sent to +
| Charlie, while Charlie's is | | Charlie, while Charlie is |
+ sent to Alice) (32 bytes) + + sent to Alice) (32 bytes) +
| | | |
+ +----+----+ + +----+----+
@@ -5214,8 +5217,10 @@ TODO this is the SSU 1 flavor, to be updated
| asz| Alice IP address |AlicePort| | | asz| Alice IP address |AlicePort| |
+----+----+----+----+----+----+----+ + +----+----+----+----+----+----+----+ +
| signature | | signature |
~ length varies ~ + length varies +
| 64 bytes for Ed25519 | | 64 bytes for Ed25519 |
~ ~
| . . . |
+----+----+----+----+----+----+----+----+ +----+----+----+----+----+----+----+----+
blk :: 10 blk :: 10