Running a Node
This guide covers setting up and operating a Bitcoin Knots full node.
Hardware Requirements
Minimum
| Resource | Requirement |
|---|---|
| CPU | 2+ cores |
| RAM | 4 GB |
| Storage | 10 GB (pruned) |
| Network | 10+ Mbps |
Recommended
| Resource | Requirement |
|---|---|
| CPU | 4+ cores |
| RAM | 8+ GB |
| Storage | 1 TB SSD |
| Network | 50+ Mbps |
Initial Setup
1. Install Bitcoin Knots
See Installation Guide.
2. Create Configuration
~/.bitcoin/bitcoin.conf
# Server mode
server=1
daemon=1
# RPC configuration
rpcuser=bitcoinrpc
rpcpassword=CHANGE_THIS_PASSWORD
# Performance
dbcache=4000
maxconnections=125
# Knots-specific
datacarriersize=42
3. Start the Node
bitcoind -daemon
4. Monitor Sync Progress
bitcoin-cli getblockchaininfo
Operation Modes
Full Node (Default)
Stores the complete blockchain:
# No special config needed - this is the default
Pruned Node
Keeps only recent blocks:
bitcoin.conf
prune=10000 # Keep ~10GB of blocks
Archive Node
Store all data including transaction index:
bitcoin.conf
txindex=1
Monitoring
Check Status
# Overall status
bitcoin-cli -getinfo
# Blockchain info
bitcoin-cli getblockchaininfo
# Network info
bitcoin-cli getnetworkinfo
# Memory pool
bitcoin-cli getmempoolinfo
View Logs
tail -f ~/.bitcoin/debug.log
Maintenance
Backup
# Stop node first
bitcoin-cli stop
# Backup wallet
cp -r ~/.bitcoin/wallets ~/bitcoin-backup/
# Backup configuration
cp ~/.bitcoin/bitcoin.conf ~/bitcoin-backup/
Updates
- Stop the node:
bitcoin-cli stop - Download new version
- Replace binaries
- Start node:
bitcoind -daemon
Troubleshooting
Node Won't Sync
- Check internet connection
- Verify no firewall blocking port 8333
- Increase
dbcachefor faster sync - Check disk space
High Memory Usage
bitcoin.conf
dbcache=1000
maxmempool=300
Disk Space Running Low
Enable pruning:
bitcoin.conf
prune=5000
See Also
- Configuration Guide - Detailed configuration
- Troubleshooting - Common issues