doc: rename network to cluster

This commit is contained in:
Michael Vines 2019-03-04 08:16:13 -08:00
parent adb4cb43ec
commit 243a4625f1
4 changed files with 12 additions and 12 deletions

View File

@ -77,26 +77,26 @@ console.log(solanaWeb3);
```
## Local Network
The `solana-localnet` program is provided to easily start a test Solana network
The `solana-localnet` program is provided to easily start a test Solana cluster
locally on your machine. Docker must be installed. The JSON RPC endpoint of
the local network is `http://localhost:8899`.
the local cluster is `http://localhost:8899`.
To start, first fetch the latest Docker image by running:
```bash
$ npx solana-localnet update
```
Then run the following command to start the network
Then run the following command to start the cluster
```bash
$ npx solana-localnet up
```
While the network is running logs are available with:
While the cluster is running logs are available with:
```bash
$ npx solana-localnet logs -f
```
Stop the network with:
Stop the cluster with:
```bash
$ npx solana-localnet down
```

View File

@ -26,9 +26,9 @@ usage: $0 [update|up|down|logs|deploy] [command-specific options]
Operate a local testnet
update - Update the image from dockerhub.com
up - Start the network
down - Stop the network
logs - Display network logging
up - Start the cluster
down - Stop the cluster
logs - Display cluster logging
deploy - Deploy a native program.
@ -52,7 +52,7 @@ Operate a local testnet
deploy-specific options:
program - The program to deploy.
Note that deployments are discarded on network stop
Note that deployments are discarded on cluster stop
EOF
exit $exitcode

View File

@ -2,8 +2,8 @@
Before trying any of the examples in this directory please populate the `lib/`
directory by running `npm install`.
Additionally most of the examples attempt to connect to a local network. Start
your local network first by running:
Additionally most of the examples attempt to connect to a local cluster. Start
your local cluster first by running:
```bash
$ npx solana-localnet update
$ npx solana-localnet up

View File

@ -1,7 +1,7 @@
// @flow
/**
* The connection url to use when running unit tests against a live network
* The connection url to use when running unit tests against a live cluster
*/
export const url = 'http://localhost:8899/';