Bump RPC banks up 1 port to avoid web3.js wss port conflict

(cherry picked from commit f8bb93a0f4)
This commit is contained in:
Michael Vines
2020-08-30 22:21:36 -07:00
parent 250f5a8196
commit d3a16e4e13

View File

@ -621,7 +621,7 @@ pub fn main() {
.value_name("PORT")
.takes_value(true)
.validator(port_validator)
.help("Use this port for JSON RPC, the next port for the RPC websocket, and the following for the RPC banks API"),
.help("Use this port for JSON RPC, the next port for the RPC websocket, and then third port for the RPC banks API"),
)
.arg(
Arg::with_name("private_rpc")
@ -988,7 +988,7 @@ pub fn main() {
},
rpc_ports: value_t!(matches, "rpc_port", u16)
.ok()
.map(|rpc_port| (rpc_port, rpc_port + 1, rpc_port + 2)),
.map(|rpc_port| (rpc_port, rpc_port + 1, rpc_port + 3)),
voting_disabled: matches.is_present("no_voting"),
wait_for_supermajority: value_t!(matches, "wait_for_supermajority", Slot).ok(),
trusted_validators,