Skip to content

Instantly share code, notes, and snippets.

@amanelis
Created October 2, 2021 20:39
Show Gist options
  • Save amanelis/c890eb8d984d529ae93f29b3ef8b4aea to your computer and use it in GitHub Desktop.
Save amanelis/c890eb8d984d529ae93f29b3ef8b4aea to your computer and use it in GitHub Desktop.
geth standard fast configuration
# /etc/systemd/system/geth.service
[Unit]
Description=Go Ethereum Client
After=network.target
Wants=network.target
[Service]
User=goeth`
Group=goeth
Type=simple
Restart=always
RestartSec=5
ExecStart=/usr/bin/geth --nousb --gcmode=archive --syncmode "fast" --http --http.api "eth,net,personal,web3,txpool" --http.addr 0.0.0.0 --http.port 8545 --http.corsdomain geth.bcrypt.us --http.vhosts * --datadir /mnt/nvm/ether --cache 28000 --maxpeers 200 --txpool.globalslots=250000 --txpool.globalqueue=50000
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment