Skip to content

Commit

Permalink
Adding --maxpeers flag info
Browse files Browse the repository at this point in the history
  • Loading branch information
fixanoid authored May 1, 2018
1 parent aa163f0 commit d4a1b09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions raft/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ We communicate blocks over the HTTP transport layer built in to etcd Raft. It's

Quorum listens on port 50400 by default for the raft transport, but this is configurable with the `--raftport` flag.

Default number of peers is set to be 25. Max number of peers is configurable with the `--maxpeers N` where N is expected size of the cluster.

## Initial configuration, and enacting membership changes

Currently Raft-based consensus requires that all _initial_ nodes in the cluster are configured to list the others up-front as [static peers](https://github.com/ethereum/go-ethereum/wiki/Connecting-to-the-network#static-nodes). These enode ID URIs _must_ include a `raftport` querystring parameter specifying the raft port for each peer: e.g. `enode://[email protected]:30400?raftport=50400`. Note that the order of the enodes in the `static-nodes.json` file needs to be the same across all peers.
Expand Down

0 comments on commit d4a1b09

Please sign in to comment.