Skip to content

Commit

Permalink
Fix PEER_LIST_URL typo + update Seed List URL
Browse files Browse the repository at this point in the history
  • Loading branch information
kaozenn committed May 23, 2024
1 parent b8b1e05 commit c144fd4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/exchange-operators/rosetta/run-with-docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Run the container with following command (replace the image tag with one from do
You can also create a file with the environment variables and pass it to the docker run command with `--env-file` flag. For example, create a file named `mainnet.env` with the following content:

MINA_NETWORK=mainnet
PEER_LIST_URL=https://storage.googleapis.com/seed-lists/mainnet_seeds.txt
PEERS_LIST_URL=https://bootnodes.minaprotocol.com/networks/mainnet.txt
MINA_ARCHIVE_DUMP_URL=https://storage.googleapis.com/mina-archive-dumps
MINA_GENESIS_LEDGER_URL=http://673156464838-mina-genesis-ledgers.s3-website-us-west-2.amazonaws.com/mainnet/genesis_ledger.json
BLOCKS_BUCKET=https://storage.googleapis.com/mina_network_block_data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Commit 9b0369c27bb85c8ab2f8725c6e977eb27b53b826 on branch master
To start a Mina node instance and connect to the Devnet network:

```
mina daemon --peer-list-url https://storage.googleapis.com/seed-lists/devnet_seeds.txt
mina daemon --peer-list-url https://bootnodes.minaprotocol.com/networks/devnet.txt
```

The `--peer-list` argument specifies the the source file of seed peer addresses for the initial peer to connect to on the network. Mina is a [peer-to-peer](/glossary#peer-to-peer) protocol, so there is no dependence on a single centralized server.
Expand All @@ -83,12 +83,12 @@ export MINA_PRIVKEY_PASS="My_V3ry_S3cure_Password"
LOG_LEVEL=Info
FILE_LOG_LEVEL=Debug
EXTRA_FLAGS=" --block-producer-key <BLOCK_PRODUCER_KEY_PATH>"
PEER_LIST_URL=https://storage.googleapis.com/seed-lists/devnet_seeds.txt
PEERS_LIST_URL=https://bootnodes.minaprotocol.com/networks/devnet.txt
```

Replace `<BLOCK_PRODUCER_KEY_PATH>` with the full path to your block producer private key. For example, `/home/ubuntu/keys/my-wallet`.

If you do not want to produce blocks, then provide only the `PEER_LIST_URL`.
If you do not want to produce blocks, then provide only the `PEERS_LIST_URL`.

Now, run the image with your `~/.mina-config` and `~/.mina-env` files mounted into the container:

Expand Down Expand Up @@ -120,4 +120,4 @@ Monitor connectivity to the network:

```sh
docker exec -it mina mina client status
```
```
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ Auto-restart flows are in place to ensure your nodes perform optimally.
To start a mina node instance and connect to the live network:

```sh
mina daemon --peer-list-url https://storage.googleapis.com/seed-lists/mainnet_seeds.txt
mina daemon --peer-list-url https://bootnodes.minaprotocol.com/networks/mainnet.txt
```

The `--peer-list` argument specifies the source file of seed peer addresses for the initial peer to connect to on the network. Mina is a [peer-to-peer](/glossary#peer-to-peer) protocol, so there is no dependence on a single centralized server.

If you have a key with MINA stake and want to produce blocks:

```sh
mina daemon --peer-list-url https://storage.googleapis.com/seed-lists/mainnet_seeds.txt \
mina daemon --peer-list-url https://bootnodes.minaprotocol.com/networks/mainnet.txt \
--block-producer-key ~/keys/my-wallet
```

Expand Down Expand Up @@ -97,7 +97,7 @@ To produce blocks or otherwise customize the configuration for the mina daemon:
- External port 8302
- Change with `-external-port`
- Mainnet package [https://storage.googleapis.com/seed-lists/mainnet_seeds.txt](https://storage.googleapis.com/seed-lists/mainnet_seeds.txt)
- Mainnet package [https://bootnodes.minaprotocol.com/networks/mainnet.txt](https://bootnodes.minaprotocol.com/networks/mainnet.txt)
- Change with `--peer-list-url`
1. After your `.mina-env` file is ready, start a mina node instance and connect to the live network using systemctl to control systemd:
Expand Down Expand Up @@ -163,12 +163,12 @@ export MINA_PRIVKEY_PASS="My_V3ry_S3cure_Password"
LOG_LEVEL=Info
FILE_LOG_LEVEL=Debug
EXTRA_FLAGS=" --block-producer-key <BLOCK_PRODUCER_KEY_PATH>"
PEER_LIST_URL=https://storage.googleapis.com/seed-lists/mainnet_seeds.txt
PEERS_LIST_URL=https://bootnodes.minaprotocol.com/networks/mainnet.txt
```

Replace `<BLOCK_PRODUCER_KEY_PATH>` with the full path to your block producer private key. For example, `/home/ubuntu/keys/my-wallet`.

If you do not want to produce blocks, provide only the `PEER_LIST_URL`.
If you do not want to produce blocks, provide only the `PEERS_LIST_URL`.

Now, run the image with your `~/.mina-config` and `~/.mina-env` files mounted into the container:

Expand Down
2 changes: 1 addition & 1 deletion docs/node-operators/seed-peers/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ MINA_LIBP2P_PASS="My_V3ry_S3cure_Password"
LOG_LEVEL=Info
FILE_LOG_LEVEL=Debug
EXTRA_FLAGS=" --libp2p-keypair <path-to-the-key-file> --seed --max-connection 100"
PEER_LIST_URL=https://storage.googleapis.com/seed-lists/mainnet_seeds.txt
PEERS_LIST_URL=https://bootnodes.minaprotocol.com/networks/mainnet.txt
```

Please note that `<path-to-the-key-file>` could change in value depending on where you stored your libp2p keypair from the previous steps. In docker, the keypath will always be `/keys/filename` due to where volumes are mounted.
Expand Down
4 changes: 2 additions & 2 deletions docs/node-operators/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ We only need the last `k` (290) blocks of the blockchain to produce blocks. So o

### My sync status is offline?

This status indicates that you have not received any messages from peers for the last ~24 minutes. Ensure that you use the `--peer-list` argument that points to `https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt`
This status indicates that you have not received any messages from peers for the last ~24 minutes. Ensure that you use the `--peer-list` argument that points to `https://bootnodes.minaprotocol.com/networks/mainnet.txt`

See [Connect to Mainnet](./block-producer-node/connecting-to-the-network).

Expand Down Expand Up @@ -191,7 +191,7 @@ The client port `8301` should **never** be exposed to the internet. There may be

### Node fails with "Failed to find any peers, crashing as this is not a seed node"?

Ensure that you use the `--peer-list` argument that points to `https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt`
Ensure that you use the `--peer-list` argument that points to `https://bootnodes.minaprotocol.com/networks/mainnet.txt`

See [Connect to Mainnet](./block-producer-node/connecting-to-the-network).

Expand Down

0 comments on commit c144fd4

Please sign in to comment.