Default `--syncmode=snap` for `mainnet`, `goerli`, `bsc`. Other networks now have default `--syncmode=fast`. Increase download speed by flag `--torrent.download.rate=20mb`
Use `--datadir` to choose where to store data.
### Optional stages
There is an optional stage that can be enabled through flags:
...
...
@@ -169,25 +173,18 @@ This piece of info needs to be specified in the Consensus Layer as well in order
### Multiple Instances / One Machine
Here's an example of running multiple instances of Erigon against different chains on the same machine:
Define 5 flags to avoid conflicts: `--datadir --port --http.port --torrent.port --private.api.addr`. Example of multiple chains on the same machine:
As usual, use the same `datadir` and `private.api.addr` for both Erigon and RPC. Explicitly specify the chain and the other ports to make things clearer. Quote your path if it has spaces.
Run RPCDaemon as separated process: this daemon can use local DB (with running Erigon or on snapshot of a database) or remote DB (run on another server). <code>🔬 See [RPC-Daemon docs](./cmd/rpcdaemon/README.md)</code>