Add note about validator.json and -d flag to config generating scripts
This commit is contained in:
parent
f0d1fdfb46
commit
f0db68cb75
|
@ -82,7 +82,7 @@ open on all the machines you want to test with.
|
||||||
Generate a leader configuration file with:
|
Generate a leader configuration file with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo run --release --bin solana-fullnode-config > leader.json
|
cargo run --release --bin solana-fullnode-config -- -d > leader.json
|
||||||
```
|
```
|
||||||
|
|
||||||
Now start the server:
|
Now start the server:
|
||||||
|
@ -112,6 +112,12 @@ Multinode Testnet
|
||||||
|
|
||||||
To run a multinode testnet, after starting a leader node, spin up some validator nodes:
|
To run a multinode testnet, after starting a leader node, spin up some validator nodes:
|
||||||
|
|
||||||
|
Generate the validator's configuration file:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo run --release --bin solana-fullnode-config -- -d > validator.json
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cat ./multinode-demo/validator.sh
|
$ cat ./multinode-demo/validator.sh
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
Loading…
Reference in New Issue