mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
cmd/devp2p: update chainConfig for worldland testnet and mainnet
This commit is contained in:
parent
b18a771de3
commit
c2fc306206
2 changed files with 7 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ set to standard output. The following filters are supported:
|
|||
- `-limit <N>` limits the output set to N entries, taking the top N nodes by score
|
||||
- `-ip <CIDR>` filters nodes by IP subnet
|
||||
- `-min-age <duration>` filters nodes by 'first seen' time
|
||||
- `-eth-network <mainnet/rinkeby/goerli/ropsten>` filters nodes by "eth" ENR entry
|
||||
- `-eth-network <mainnet/rinkeby/goerli/ropsten/lve>` filters nodes by "eth" ENR entry
|
||||
- `-les-server` filters nodes by LES server support
|
||||
- `-snap` filters nodes by snap protocol support
|
||||
|
||||
|
|
|
|||
|
|
@ -237,6 +237,12 @@ func ethFilter(args []string) (nodeFilter, error) {
|
|||
filter = forkid.NewStaticFilter(params.RopstenChainConfig, params.RopstenGenesisHash)
|
||||
case "sepolia":
|
||||
filter = forkid.NewStaticFilter(params.SepoliaChainConfig, params.SepoliaGenesisHash)
|
||||
case "lve":
|
||||
filter = forkid.NewStaticFilter(params.LveChainConfig, params.LveGenesisHash)
|
||||
case "seoul":
|
||||
filter = forkid.NewStaticFilter(params.SeoulChainConfig, params.SeoulGenesisHash)
|
||||
case "gwangju":
|
||||
filter = forkid.NewStaticFilter(params.GwangjuChainConfig, params.GwangjuGenesisHash)
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown network %q", args[0])
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue