Frequently Asked Questions (FAQs)
This list addresses the most common inquiries from the Erigon community, offering quick and direct answers to a variety of topics.
-
What is the difference between Erigon and Geth? Erigon originated as a fork of Geth but has been entirely rewritten with a focus on disk space and sync speed. It uses a flat, key-value database (MDBX) instead of a Merkle Patricia Trie, resulting in a much smaller disk footprint and faster synchronization times.
-
Is Erigon a good choice for client diversity? Yes. The codebases have diverged so significantly from Geth that they are now considered separate clients, making Erigon an excellent choice to support Ethereum's client diversity goals.
-
What are the minimum hardware requirements? The most critical component is a high-end NVMe or SSD with very low latency. While the exact requirements vary by network, 16GB of RAM and a fast SSD are generally the minimum for a full node. See Hardware Requirements for detailed specs per network and pruning mode.
-
How long does it take to sync a node? Initial synchronization time is highly dependent on hardware and bandwidth. A fast system with a high-end NVMe can sync a full node in as little as few hours, while on slower hardware, it can take several days.
-
How much disk space is required? Disk requirements grow continuously with the blockchain and vary by network and pruning mode — a full node needs far less than an archive node. Because these figures drift over time, always check the current numbers rather than relying on a fixed value. See Hardware Requirements for per-network specs and Database for a breakdown of what consumes disk space.
-
Can I run Erigon on an HDD? It is not recommended to run Erigon on an HDD. The client's performance is critically dependent on high-speed disk I/O, and an HDD will almost certainly cause the node to fall behind the blockchain tip.
-
What is the
--prune.modeflag, and which mode should I use? This flag determines which historical data is discarded. Thefullmode (the default for Erigon 3) is suitable for most users. Theminimalmode is for validators with limited disk space. Thearchivemode is for those who need a full historical record for all past states. See Pruning Modes for a full comparison. -
Can I change my pruning mode after starting the node? No. The pruning mode is a permanent choice made at the first sync. Changing it requires deleting the
datadirdirectory and a full re-sync from scratch. -
Do I need a separate consensus client? No, you don't need a separate consensus client. In many cases, it's fine to use Caplin, the embedded consensus client that runs by default within Erigon. However, some users, especially validators, prefer to run a separate consensus client for enhanced reliability.
-
How do I upgrade my Erigon binary? The process involves gracefully shutting down the node, replacing the old binary with the new one, and restarting. See the Upgrading guide for step-by-step instructions. It is also recommended to back up your datadir before any major upgrade.
-
How do I gracefully shut down Erigon? The safest way to shut down is by using a process manager like
systemdorsupervisor. Alternatively, you can pressCtrl+Cin the terminal to allow the database to close cleanly. -
What is Erigon's RPC daemon? The RPC daemon is a separate process that handles JSON RPC API requests. It can run on a different machine from the core Erigon client to enhance security and scalability.
-
Is it possible to recover from a database corruption? While Erigon's database is robust, an ungraceful shutdown can cause corruption. The most reliable solution is to delete the corrupted datadir and perform a full re-sync, but it is also worth using repair tools.
-
What are the required ports? Erigon requires specific ports for P2P networking (default
30303TCP/UDP) and RPC access (8545HTTP,8546WS,8551Engine API). See Default Ports for the complete list. -
What is a "snapshot sync"? Snapshot sync is a stage of the synchronization process where the node downloads pre-made snapshots of the blockchain state. This significantly accelerates the initial sync, reducing the time required to catch up with the network. See Pruning Modes for details.
-
How do I monitor my node's sync progress? There are three complementary ways:
-
Read the live log line — every sync log line is prefixed with the current stage and its position in the pipeline, e.g.
[6/8 Execution]. The two numbers show the current stage and the total number of stages for your configuration; the prefix advances through the stages until the finalFinishstage, at which point the node is at the chain tip. See Logs → Stage Definitions for the full ordered list. -
Query the JSON-RPC — call
eth_syncingagainst the RPC daemon (default port8545):curl -s -X POST -H "Content-Type: application/json" \--data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' \http://localhost:8545While syncing the result is an object with
currentBlock,highestBlock, and astagesarray (per-stage progress, matching the log prefix); once fully synced it is simplyfalse. (startingBlockis also returned but is hardcoded to"0x0".) -
Ask an AI assistant via MCP — Erigon's built-in MCP server (default
127.0.0.1:8553) lets a connected assistant like Claude Desktop answer questions like "Is my node synced? How many blocks behind am I?" in plain language by querying the same data the JSON-RPC exposes. Useful when you'd rather not parse logs oreth_syncingoutput by hand.
-
-
Can I use Erigon with Docker? Yes, Erigon provides official Docker images on Dockerhub. See the Installation guide for the Docker setup instructions.
-
Does Erigon support other chains besides Ethereum? Yes, Erigon is an EVM-compatible client and supports other networks like Gnosis. You can specify the chain with the
--chainflag. See Supported Networks and the Easy Nodes guides for chain-specific setup. -
Where can I find official support? The primary channels for support and community discussions are the official Erigon Discord and GitHub repository.
-
What is Caplin? Caplin is Erigon's built-in beacon API server. It allows Erigon to function as both a consensus and execution client.
-
What is OtterSync? OtterSync is a syncing algorithm that further enhances performance by shifting 98% of the computation to network bandwidth, reducing synchronization times and improving chain tip performance, disk footprint, and decentralization.
-
Why can't I query blocks before a certain height? In
fullandminimalpruning modes, Erigon discards historical state data that is older than the pruning window. If you need to query early blocks, you must run an archive node (--prune.mode=archive). See Pruning Modes for more on pruning. Note that the pruning mode is set permanently at the first sync and cannot be changed without a full re-sync. -
Can I run Erigon on a Raspberry Pi or low-power ARM device? It is not recommended for Mainnet. Erigon requires a high-end NVMe SSD and sufficient RAM (16 GB minimum) for reliable operation. Low-power ARM devices typically lack the disk I/O performance and memory needed to keep up with the chain tip. See Hardware Requirements. A testnet like Sepolia may be feasible on higher-end ARM hardware, but expect limited performance.
-
What is the MCP server? The MCP (Model Context Protocol) server is a built-in component that exposes Erigon's blockchain data to AI assistants like Claude Desktop. It is enabled by default and listens on
127.0.0.1:8553. To disable it, pass--mcp.disableat startup. -
How do I connect Claude Desktop to my Erigon node? Build the standalone
mcpbinary withmake mcp, then add it to your Claude Desktop configuration at~/.config/claude-desktop/config.jsonpointing to your node's JSON-RPC endpoint or datadir. See the MCP Server page for the full configuration example. -
My node keeps falling behind the chain tip after running for a while. How do I fix it? In most cases you can recover by deleting only the hot database —
datadir/chaindata— and restarting. Do not delete the wholedatadir, which would force a full re-sync. Erigon re-deriveschaindatafrom the immutable snapshots (re-downloading them if needed) and resyncs the post-snapshot tip from the consensus layer — treat it as a chain-tip resync, not an instant rebuild, and keep a backup if fast recovery matters. Make sure you are on the latest release: Erigon 3.4+ ships a much smallerchaindataand an improved pruning algorithm that greatly reduces this problem. See Common Errors and Solutions and Optimizing Storage. -
What is the difference between deleting
chaindataand deleting the wholedatadir?chaindatais Erigon's small, mutable MDBX database (typically 15–20 GB, even on an archive node) holding recent state and sync progress. Thesnapshotsdirectory holds the immutable historical data — roughly 95% of the total footprint. Deletingchaindatais recoverable but not free: Erigon re-derives state from the snapshots (re-downloading them if needed) and resyncs the post-snapshot tip from the consensus layer — a chain-tip resync, not an instant rebuild. Deleting the entiredatadiralso discards the snapshots and forces a full re-sync. When in doubt, delete onlychaindata. See Database. -
My node has no peers or won't sync. Which ports do I need to open? Erigon needs several ports reachable (both TCP and UDP where applicable):
30303/30304(execution-layer P2P),4000and4001(Caplin consensus peering), and42069(BitTorrent snapshot download). Keep the RPC port (8545) bound to localhost and never expose it publicly. If your node is behind NAT, set--natand--caplin.nattostunorupnpand forward those ports on your router. See Default Ports and NAT. -
How do I reduce Erigon's memory use or stop it from being OOM-killed? Erigon and the Go runtime size their memory and CPU use from the resources they can see, so on a shared or memory-constrained host you can make them more conservative: set
GOMEMLIMIT(e.g.GOMEMLIMIT=26GiB), lowerGOGC(e.g.GOGC=80), capGOMAXPROCS(e.g. to half your cores), and reduce--batchSize(e.g.--batchSize=256m). See Common Errors and Solutions and Performance Tricks. -
Where do I report a security vulnerability? Erigon is covered by the Ethereum Foundation's Bug Bounty Program. Report security issues there so they can be handled responsibly — not via public Discord or GitHub issues. For non-security bugs, open a GitHub issue with logs and version info.
-
Where are Erigon's log files stored? By default Erigon writes logs to
<datadir>/logs/erigon.log, in addition to standard output. Attach this file when opening a bug report. See Logs for log-level and rotation options.