Skip to content

Commit cfd36d7

Browse files
authored
rlpx.md: capability message IDs start at 0x10, not 0x11 (#181)
The Message ID section of rlpx.md appears to be incorrect, it says the message IDs of capabilities start at 0x11, but in reality (e.g. checked Geth, OpenEthereum, Nimbus) the "eth" capability starts at 0x10, so the reserved range for "p2p" is 0x00-0x0f.
1 parent 26e380b commit cfd36d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rlpx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ reception of the [Hello] message, both peers have equivalent information about w
222222
capabilities they share (including versions) and are able to form consensus over the
223223
composition of message ID space.
224224

225-
Message IDs are assumed to be compact from ID 0x11 onwards (0x00-0x10 is reserved for the
225+
Message IDs are assumed to be compact from ID 0x10 onwards (0x00-0x0f is reserved for the
226226
"p2p" capability) and given to each shared (equal-version, equal-name) capability in
227227
alphabetic order. Capability names are case-sensitive. Capabilities which are not shared
228228
are ignored. If multiple versions are shared of the same (equal name) capability, the

0 commit comments

Comments
 (0)