diff --git a/raft/doc.md b/raft/doc.md index 7e291fff0..43cbf64a7 100644 --- a/raft/doc.md +++ b/raft/doc.md @@ -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://abcd@127.0.0.1:30400?raftport=50400`. Note that the order of the enodes in the `static-nodes.json` file needs to be the same across all peers.