Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Update Create-Permissioned-Network.md (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobhackman authored and MadelineMurray committed May 3, 2019
1 parent aed5e88 commit 1064682
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/Tutorials/Create-Permissioned-Network.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Permissioned nodes are added using the JSON-RPC API after starting the nodes.

### 5. Start Node-1

Start Node-1:
Use the following command:

```bash tab="MacOS"
pantheon --data-path=data --genesis-file=../cliqueGenesis.json --permissions-nodes-config-file-enabled --permissions-accounts-config-file-enabled --rpc-http-enabled --rpc-http-api=ADMIN,ETH,NET,PERM,CLIQUE --host-whitelist=* --rpc-http-cors-origins=*
Expand Down Expand Up @@ -243,7 +243,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"perm_addNodesToWhitelist","param
```

!!! tip
The curl call is the same for each node except for the JSON-RPC endpoint.
The cURL call is the same for each node except for the JSON-RPC endpoint.

### 9. Add Nodes as Peers

Expand All @@ -263,7 +263,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"admin_addPeer","params":["<Enode
```

!!! tip
The curl call is the same for both nodes except for the JSON-RPC endpoint.
The cURL call is the same for both nodes except for the JSON-RPC endpoint.

Replace `<EnodeNode2>` with the enode URL displayed when starting Node-2.

Expand All @@ -276,7 +276,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"admin_addPeer","params":["<Enode

#### Check Peer Count

Use curl to call the JSON-RPC API [`net_peerCount`](../Reference/JSON-RPC-API-Methods.md#net_peercount) method and confirm the nodes are functioning as peers:
Use cURL to call the JSON-RPC API [`net_peerCount`](../Reference/JSON-RPC-API-Methods.md#net_peercount) method and confirm the nodes are functioning as peers:

```bash
curl -X POST --data '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":1}' localhost:8545
Expand Down Expand Up @@ -326,7 +326,7 @@ pantheon --data-path=data --bootnodes="<EnodeNode1>" --genesis-file=../cliqueGen
pantheon --data-path=data --bootnodes="<EnodeNode1>" --genesis-file=..\cliqueGenesis.json --rpc-http-enabled --rpc-http-api=ADMIN,ETH,NET,PERM,CLIQUE --host-whitelist=* --rpc-http-cors-origins=* --p2p-port=30306 --rpc-http-port=8548
```

Start another terminal, use curl to call the JSON-RPC API [`net_peerCount`](../Reference/JSON-RPC-API-Methods.md#net_peercount) method:
Start another terminal, use cURL to call the JSON-RPC API [`net_peerCount`](../Reference/JSON-RPC-API-Methods.md#net_peercount) method:

```bash
curl -X POST --data '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":1}' localhost:8548
Expand Down

0 comments on commit 1064682

Please sign in to comment.