Created
October 2, 2021 20:39
-
-
Save amanelis/c890eb8d984d529ae93f29b3ef8b4aea to your computer and use it in GitHub Desktop.
geth standard fast configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /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