Skip to content

Commit

Permalink
rlpx.md: document hello.listenPort as legacy (#250)
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Lange <[email protected]>
  • Loading branch information
angaz and fjl authored Nov 27, 2023
1 parent 298d7a7 commit 76cf0a1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rlpx.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Secrets generated following the exchange of handshake messages:
All messages following the initial handshake are framed. A frame carries a single
encrypted message belonging to a capability.

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

### Disconnect (0x01)
Expand Down

0 comments on commit 76cf0a1

Please sign in to comment.