运行以太坊轻节点

nohup geth --datadir chain --syncmode=light --cache=1024  --rpc --rpcaddr 0.0.0.0 --rpcport 50002  --rpcapi 'web3,eth,net,personal,admin,txpool' --rpccorsdomain '*' & tail -f nohup.out


连接到以太坊后台:

geth attach ./geth.ipc

你可能感兴趣的:(运行以太坊轻节点)