From 673d3a1646c9d15163a48cef2779e457ebf4ae05 Mon Sep 17 00:00:00 2001 From: Zachinquarantine Date: Fri, 4 Mar 2022 22:05:49 -0500 Subject: [PATCH] Remove mentions of Morden testnet (#3642) * Update index.rst * Update handler.go --- docs/readthedocs/source/rpc/index.rst | 2 +- eth/protocols/eth/handler.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/readthedocs/source/rpc/index.rst b/docs/readthedocs/source/rpc/index.rst index 8da58e798..1a6c1792b 100644 --- a/docs/readthedocs/source/rpc/index.rst +++ b/docs/readthedocs/source/rpc/index.rst @@ -153,7 +153,7 @@ Returns the current network id. * - Type - Description * - ``STRING`` - - The current network id. One of |br| ``1``: Ethereum Mainnet |br| ``2``: Morden Testnet (deprecated) |br| ``3``: Ropsten Testnet |br| ``4``: Rinkeby Testnet |br| ``42``: Kovan Testnet |br| + - The current network id. One of |br| ``1``: Ethereum Mainnet |br| ``3``: Ropsten Testnet |br| ``4``: Rinkeby Testnet |br| ``42``: Kovan Testnet |br| -------------- diff --git a/eth/protocols/eth/handler.go b/eth/protocols/eth/handler.go index 01b9c5fe7..510b46f4c 100644 --- a/eth/protocols/eth/handler.go +++ b/eth/protocols/eth/handler.go @@ -91,7 +91,7 @@ type TxPool interface { // NodeInfo represents a short summary of the `eth` sub-protocol metadata // known about the host peer. type NodeInfo struct { - Network uint64 `json:"network"` // Ethereum network ID (1=Frontier, 2=Morden, Ropsten=3, Rinkeby=4) + Network uint64 `json:"network"` // Ethereum network ID (1=Frontier, Ropsten=3, Rinkeby=4) Difficulty *big.Int `json:"difficulty"` // Total difficulty of the host's blockchain Genesis common.Hash `json:"genesis"` // SHA3 hash of the host's genesis block Config *params.ChainConfig `json:"config"` // ChainDB configuration for the fork rules