Skip to content

Commit 76cf0a1

Browse files
angazfjl
andauthored
rlpx.md: document hello.listenPort as legacy (#250)
Co-authored-by: Felix Lange <[email protected]>
1 parent 298d7a7 commit 76cf0a1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

rlpx.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Secrets generated following the exchange of handshake messages:
118118
All messages following the initial handshake are framed. A frame carries a single
119119
encrypted message belonging to a capability.
120120

121-
The purpose of framing is multiplexing multiple capabilites over a single connection.
121+
The purpose of framing is multiplexing multiple capabilities over a single connection.
122122
Secondarily, as framed messages yield reasonable demarcation points for message
123123
authentication codes, supporting an encrypted and authenticated stream becomes
124124
straight-forward. Frames are encrypted and authenticated via key material generated during
@@ -252,8 +252,9 @@ in Hello because they may be used by a future version.
252252
"Ethereum(++)/1.0.0").
253253
- `capabilities` is the list of supported capabilities and their versions:
254254
`[[cap1, capVersion1], [cap2, capVersion2], ...]`.
255-
- `listenPort` specifies the port that the client is listening on (on the interface that
256-
the present connection traverses). If 0 it indicates the client is not listening.
255+
- `listenPort` (legacy) specifies the port that the client is listening on (on the
256+
interface that the present connection traverses). If 0 it indicates the client is
257+
not listening. This field should be ignored.
257258
- `nodeId` is the secp256k1 public key corresponding to the node's private key.
258259

259260
### Disconnect (0x01)

0 commit comments

Comments
 (0)