Skip to content

Instantly share code, notes, and snippets.

@htkcodes
Last active April 18, 2022 01:50
Show Gist options
  • Save htkcodes/968f973959e33cb4cddaf279c1fe8c68 to your computer and use it in GitHub Desktop.
Save htkcodes/968f973959e33cb4cddaf279c1fe8c68 to your computer and use it in GitHub Desktop.
GETH reuse
cat /etc/systemd/system/geth.service
systemctl daemon-reload
systemctl status geth
systemctl restart geth
tail -n0 -f /opt/bsc/node/bsc.log
ss -tulpn | grep LISTEN
/opt/bsc/build/bin/geth attach /opt/bsc/node/geth.ipc
./geth --config /opt/bsc/config.toml --datadir /opt/bsc/node --cache 52000 --rpc.allow-unprotected-txs --txlookuplimit 0 --ws --ws.port=8546 --ws.origins=* --syncmode snap --diffsync --verbosity 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment