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