docs: add note about data-dir (#4124)

This commit is contained in:
Shiti Saxena 2022-09-16 22:03:38 -07:00 committed by GitHub
parent 24534090b4
commit dc21897e48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ It is possibly to use trusted node sync with a third-party API provider -- see [
!!! tip
Make sure to replace `http://localhost:5052` in the commands below with the appropriate endpoint of the trusted beacon node. `http://localhost:5052` is the default endpoint exposed by Nimbus, but this is not consistent across all clients.
!!! note ""
The path specified for data-dir must be an empty directory
For example, if your trusted node is a [Prysm node](https://docs.prylabs.network/docs/how-prysm-works/ethereum-public-api#performing-requests-against-a-local-prysm-node), it exposes `127.0.0.1:3500` by default. Which means you would run the commands below with `--trusted-node-url=http://127.0.0.1:3500`
=== "Mainnet"