Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
204 changes: 136 additions & 68 deletions docs/DZ Mainnet-beta Connection.es.md

Large diffs are not rendered by default.

114 changes: 52 additions & 62 deletions docs/DZ Mainnet-beta Connection.fr.md

Large diffs are not rendered by default.

121 changes: 56 additions & 65 deletions docs/DZ Mainnet-beta Connection.it.md

Large diffs are not rendered by default.

134 changes: 63 additions & 71 deletions docs/DZ Mainnet-beta Connection.ja.md

Large diffs are not rendered by default.

125 changes: 58 additions & 67 deletions docs/DZ Mainnet-beta Connection.ko.md

Large diffs are not rendered by default.

23 changes: 5 additions & 18 deletions docs/DZ Mainnet-beta Connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,29 +35,19 @@ This guide allows for 1 Primary Validator to register itself, and up to 3 backup

Consider: In the case where you have a junk ID and Primary ID on at the same IP, only the Primary ID will be used in registration of the machine. This is because the junk ID will not appear in gossip, and therefore cannot be used to verify the IP of the target machine.

## 1. Environment Configuration
## 1. Confirm the client network

Please follow the [setup](setup.md) instructions before proceeding.
Please follow the [setup](setup.md) instructions before proceeding. Install the **Mainnet-Beta** packages — Testnet and Mainnet-Beta use different package repos.

The last step in setup was to disconnect from the network. This is to ensure that only one tunnel is open on your machine to DoubleZero, and that tunnel is on the correct network.

<div data-wizard-step="mainnet-env-config" markdown>
Confirm the client is on mainnet-beta:

To configure the DoubleZero Client CLI (`doublezero`) and daemon (`doublezerod`) to connect to **DoubleZero mainnet-beta**:
```bash
DESIRED_DOUBLEZERO_ENV=mainnet-beta \
&& sudo mkdir -p /etc/systemd/system/doublezerod.service.d \
&& echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/doublezerod -sock-file /run/doublezerod/doublezerod.sock -env $DESIRED_DOUBLEZERO_ENV" | sudo tee /etc/systemd/system/doublezerod.service.d/override.conf > /dev/null \
&& sudo systemctl daemon-reload \
&& sudo systemctl restart doublezerod \
&& doublezero config set --env $DESIRED_DOUBLEZERO_ENV > /dev/null \
&& echo "✅ doublezerod configured for environment $DESIRED_DOUBLEZERO_ENV"
doublezero status
```

You should see the following output:
`
✅ doublezerod configured for environment mainnet-beta
`
The `Network` column should be `mainnet-beta`. If it is `testnet`, or you installed the wrong package, use the copy-paste switch in [troubleshooting](troubleshooting.md#issue-wrong-doublezero-environment).

After about 30 seconds you will see the DoubleZero devices available:

Expand All @@ -80,9 +70,6 @@ Example output (Mainnet-Beta)
9M7FfYYyjM4wGinKPofZRNmQFcCjCKRbXscGBUiXvXnG | dz-tor1-sw01 | 209.42.165.10 | 14.52ms | 14.53ms | 14.52ms | true
```
Testnet output will be identical in structure, but with fewer devices.
</details>

</div>

## 2. Open port 44880

Expand Down
176 changes: 122 additions & 54 deletions docs/DZ Mainnet-beta Connection.pt.md

Large diffs are not rendered by default.

137 changes: 64 additions & 73 deletions docs/DZ Mainnet-beta Connection.zh.md

Large diffs are not rendered by default.

230 changes: 73 additions & 157 deletions docs/DZ Testnet Connection.es.md

Large diffs are not rendered by default.

239 changes: 69 additions & 170 deletions docs/DZ Testnet Connection.fr.md

Large diffs are not rendered by default.

228 changes: 117 additions & 111 deletions docs/DZ Testnet Connection.it.md

Large diffs are not rendered by default.

310 changes: 74 additions & 236 deletions docs/DZ Testnet Connection.ja.md

Large diffs are not rendered by default.

361 changes: 50 additions & 311 deletions docs/DZ Testnet Connection.ko.md

Large diffs are not rendered by default.

25 changes: 6 additions & 19 deletions docs/DZ Testnet Connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,29 +85,20 @@ This guide allows for 1 Primary Validator to register itself, and up to 3 backup

Consider: In the case where you have a junk ID and Primary ID on at the same IP, only the Primary ID will be used in registration of the machine. This is because the junk ID will not appear in gossip, and therefore cannot be used to verify the IP of the target machine.

## 1. Environment Configuration
## 1. Confirm the client network

Please follow the [setup](setup.md) instructions before proceeding.
Please follow the [setup](setup.md) instructions before proceeding. Install the **Testnet** packages — Testnet and Mainnet-Beta use different package repos.

The last step in setup was to disconnect from the network. This is to ensure that only one tunnel is open on your machine to DoubleZero, and that tunnel is on the correct network.

<div data-wizard-step="testnet-env-config" markdown>
Confirm the client is on testnet:

To configure the DoubleZero Client CLI (`doublezero`) and daemon (`doublezerod`) to connect to **DoubleZero testnet**:
```bash
DESIRED_DOUBLEZERO_ENV=testnet \
&& sudo mkdir -p /etc/systemd/system/doublezerod.service.d \
&& echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/doublezerod -sock-file /run/doublezerod/doublezerod.sock -env $DESIRED_DOUBLEZERO_ENV" | sudo tee /etc/systemd/system/doublezerod.service.d/override.conf > /dev/null \
&& sudo systemctl daemon-reload \
&& sudo systemctl restart doublezerod \
&& doublezero config set --env $DESIRED_DOUBLEZERO_ENV > /dev/null \
&& echo "✅ doublezerod configured for environment $DESIRED_DOUBLEZERO_ENV"
```
You should see the following output:
```
✅ doublezerod configured for environment testnet
doublezero status
```

The `Network` column should be `testnet`. If it is `mainnet-beta`, or you installed the wrong package, use the copy-paste switch in [troubleshooting](troubleshooting.md#issue-wrong-doublezero-environment).

After about 30 seconds you will see the DoubleZero devices available:


Expand All @@ -128,11 +119,7 @@ doublezero latency
5tqXoiQtZmuL6CjhgAC6vA49JRUsgB9Gsqh4fNjEhftU | tyo-dz001 | 180.87.154.78 | 180.96ms | 181.08ms | 181.02ms | true
D3ZjDiLzvrGi5NJGzmM7b3YZg6e2DrUcBCQznJr3KfC8 | sin-dz001 | 180.87.102.98 | 220.87ms | 221.14ms | 220.97ms | true
```
</div>
Mainnet output will be identical in structure, but with many more available devices.
</details>



## 2. Open port 44880

Expand Down
213 changes: 64 additions & 149 deletions docs/DZ Testnet Connection.pt.md

Large diffs are not rendered by default.

217 changes: 73 additions & 144 deletions docs/DZ Testnet Connection.zh.md

Large diffs are not rendered by default.

Loading
Loading