Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify adding nodes in Raft #226

Merged
merged 4 commits into from
May 24, 2022
Merged
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
3 changes: 2 additions & 1 deletion docs/tutorials/private-network/create-a-raft-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,9 @@ Use the Raft `cluster` command to confirm the cluster now has two nodes:

The process to add more nodes to a Raft network is exactly the same as the previous steps, except:

* Use the [`raft_addPeer`](../../reference/api-methods.md#raft_addpeer) API method to add the peer to the network.
* Specify different ports for DevP2P, RPC, and Raft.
* Specify the Raft ID using the `--raftjoinexisting` option.
* Specify the Raft ID returned by [`raft_addPeer`](../../reference/api-methods.md#raft_addpeer) using the [`--raftjoinexisting`](../../reference/cli-syntax.md#raftjoinexisting) option.

```bash
export ADDRESS=$(grep -o '"address": *"[^"]*"' ./data/keystore/accountKeystore | grep -o '"[^"]*"$' | sed 's/"//g')
Expand Down