Run a Garlicoin node
A node keeps its own copy of the blockchain and shares it. Setup takes about 20 minutes; the first sync then takes an hour or more.
Disk space
About 16 GB
For the full chain, growing slowly. A pruned node needs about 5 GB.
Memory
1–2 GB
A small VPS or an old laptop is enough. Raspberry Pi: build from source (no ARM download)
Network
Port 42069
Open it (TCP) so other nodes can connect to you
Set up a node
- Install Garlicoin Core from the official downloads page.
- Skip most of the sync with our bootstrap file.
- Add a config file named
garlicoin.confin the data directory. The example here connects to nodes online right now. - Open port 42069 on your router or firewall and forward it to the node's machine.
- Check it's working. Your block height should match the network status page, and
garlicoin-cli getnetworkinfoshould show inbound connections after a while.
Keep it running on Linux
Save this as /etc/, change User and the paths, then run sudo systemctl enable --now garlicoind.
[Unit] Description=Garlicoin node After=network-online.target [Service] User=garlic ExecStart=/usr/local/bin/garlicoind \ -daemon=0 \ -datadir=/home/garlic/.garlicoin ExecStop=/usr/local/bin/garlicoin-cli \ -datadir=/home/garlic/.garlicoin \ stop Restart=on-failure TimeoutStopSec=300 [Install] WantedBy=multi-user.target
Example garlicoin.conf
# Accept connections from other nodes listen=1 # Keep at most this many connections maxconnections=40 # Uncomment to save disk space (in MB). # A pruned node still checks everything # but can't serve old blocks. #prune=3000 # Nodes that are online right now: addnode=node.garlicoin.org addnode=98.149.17.72 addnode=38.242.230.153 addnode=157.180.63.44 addnode=155.94.251.214 addnode=149.56.19.7 addnode=64.181.232.233 addnode=98.248.22.202 addnode=139.99.209.227
Where the data directory is
Windows
%APPDATA%\GarlicoinmacOS
~/Library/Application Support/GarlicoinLinux
~/.garlicoinHandy commands
garlicoin-cli getblockcount· your block heightgarlicoin-cli getconnectioncount· how many peersgarlicoin-cli getnetworkinfo· version and connectionsgarlicoin-cli stop· shut down cleanly