You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Generate JWT secret and execution client keys by running `./gen-keys.sh`. This script requires `openssl` and `xxd`.
6
+
* Generate JWT secret and execution client keys by running `./gen-keys.sh`. This script requires `openssl`.
7
7
* Optional: get waves node [state](https://docs.waves.tech/en/waves-node/options-for-getting-actual-blockchain/state-downloading-and-applying) and place it inside the `./data/waves` directory.
8
8
* Optional: get execution client state.
9
+
* To run besu on Linux, you need to manually create data & log directories and set appropriate permissions:
10
+
```
11
+
install -d -o 1000 -g 1000 data/besu logs/besu
12
+
```
9
13
10
14
## Configuring Waves Node
11
15
* Create `./secrets.env` file with the base58-encoded [seed and password](https://docs.waves.tech/en/waves-node/how-to-work-with-node-wallet):
@@ -17,19 +21,17 @@ Units Network node consists of Waves blockchain node, Consensus Client extension
17
21
* Specify the proper declared addresses in the environment file (`testnet.env` for testnet, etc.). Make sure these declared addresses have distinct ports, otherwise your node will be banned from the network!
18
22
19
23
## Launching
20
-
To run besu on Linux, you need to manually create data & log directories and set appropriate permissions:
21
-
```
22
-
install -d -o 1000 -g 1000 data/besu logs/besu
23
-
```
24
+
There are two profiles in the compose file: `besu` and `geth`, each starting a respective execution client. You can choose which one to run by specifying either `--profile besu` or `--profile geth` on the command line.
25
+
24
26
Running, stopping and updating with besu in testnet:
25
27
```
26
-
docker compose --env-file=testnet.env up -d
27
-
docker compose --env-file=testnet.env down
28
-
docker compose --env-file=testnet.env pull
28
+
docker compose --profile besu --env-file=testnet.env up -d
29
+
docker compose --profile besu --env-file=testnet.env down
0 commit comments