ethereum / devp2p

Ethereum peer-to-peer networking specifications
979 stars 275 forks source link

LES: networkId for Status protocol message #174

Closed ryanio closed 3 years ago

ryanio commented 3 years ago

Currently the LES spec under Status (0x00) says:

"networkId" P: should be 0 for testnet, 1 for mainnet.

This doesn't seem correct, should the networkId be the chainId as specified by EIP-155 / chainid.network ?

fjl commented 3 years ago

networkID and chain ID are technically distinct, but we should probably update the spec to list the correct chain IDs as in the eth protocol spec.