Skip to content

Commit 5a53d69

Browse files
authored
caps/les.md: update description of network ID (#176)
1 parent c8fa233 commit 5a53d69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

caps/les.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,12 @@ the connection is established and prior to any other LES messages. The following
167167
are required (value types are noted after the key string):
168168

169169
- `"protocolVersion"` `P`: is 1 for protocol version one.
170-
- `"networkId"` `P`: should be 0 for testnet, 1 for mainnet.
170+
- `"networkId"` `P`: specifies the network ID of the chain, as in the [Ethereum Wire Protocol].
171171
- `"headTd"` `P`: Total Difficulty of the best chain. Integer, as found in block header.
172172
- `"headHash"` `B_32`: the hash of the best (i.e. highest TD) known block.
173173
- `"headNum"` `P`: the number of the best (i.e. highest TD) known block.
174174
- `"genesisHash"` `B_32`: the hash of the Genesis block.
175-
- `"forkID"` `[crc32, nextFork: P]`: mandatory since **les/4**.
175+
- `"forkID"` `[crc32, nextFork: P]`: mandatory since **les/4**.
176176
The value identifies the chain/fork the node is operating on.
177177
- `"recentTxLookup"` `P`: announced by servers since **les/4**. Transaction status
178178
is served for transactions included in the N-1 most recent blocks (N=1 means that

0 commit comments

Comments
 (0)