Remove mentions of Morden testnet (#3642)

* Update index.rst

* Update handler.go
This commit is contained in:
Zachinquarantine 2022-03-04 22:05:49 -05:00 committed by GitHub
parent 6d9baab566
commit 673d3a1646
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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|
--------------

View File

@ -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