运行环境:Centos7 , geth1.12.0初始化已经执行完了。在启动geth时报Fatal: Failed to register the Ethereum service: ethash is only supported as a historical component of already merged networks错误。 查官方文档说1.12.0版本已经不再支持PoW https://github.com/ethereum/go-ethereum/releases/tag/v1.12.0
启动命令: geth --http --http.addr='0.0.0.0' --http.corsdomain= --http.vhosts "" --nodiscover --maxpeers '5' --networkid 12345 --datadir '/eth/data/node1' --http.api "db,net,eth,web3,personal,miner,debug,admin" --snapshot=false --allow-insecure-unlock console