Sentry doc (#5040)

* save

* save

* save
This commit is contained in:
Alex Sharov 2022-08-13 21:37:51 +07:00 committed by GitHub
parent 52fd0d0e8b
commit 778792e20e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,10 +25,12 @@ p2p sentry running on the same computer listening to the port `9091`. In order t
computer, or a different port (or both), the option `--sentry.api.addr` can be used. For example:
```
./buid/bin/sentry --datadir=<sentry_datadir> --sentry.api.addr=localhost:9999
./buid/bin/sentry --datadir=<sentry1_datadir> --sentry.api.addr=localhost:9091
./buid/bin/sentry --datadir=<sentry2_datadir> --sentry.api.addr=localhost:9191
./build/bin/erigon --sentry.api.addr="localhost:9091,localhost:9191"
```
The command above will expect the p2p sentry running on the same computer, but on the port `9999`
The command above will expect the p2p sentry running on the same computer, but on the port `9091`
Options `--nat`, `--port`, `--staticpeers`, `--netrestrict`, `--discovery` are also available.