wormchain - peer-exchange reactor off by default
This commit is contained in:
parent
1f8055adfa
commit
1f939ea2dd
|
@ -249,7 +249,7 @@ send_rate = 5120000
|
|||
recv_rate = 5120000
|
||||
|
||||
# Set true to enable the peer-exchange reactor
|
||||
pex = true
|
||||
pex = false
|
||||
|
||||
# Seed mode, in which node constantly crawls the network and looks for
|
||||
# peers. If another node asks it for addresses, it responds and disconnects.
|
||||
|
|
|
@ -249,7 +249,7 @@ send_rate = 5120000
|
|||
recv_rate = 5120000
|
||||
|
||||
# Set true to enable the peer-exchange reactor
|
||||
pex = true
|
||||
pex = false
|
||||
|
||||
# Seed mode, in which node constantly crawls the network and looks for
|
||||
# peers. If another node asks it for addresses, it responds and disconnects.
|
||||
|
|
|
@ -43,6 +43,7 @@ sed -i "s/external_address = \"\"/external_address = \"${hostname}:26656\"/g" ${
|
|||
|
||||
if [ $instance -eq 0 ] && [ $NUM_GUARDIANS -ge 2 ]; then
|
||||
echo "$hostname: enabling seed mode in config.toml."
|
||||
sed -i "s/pex = false/pex = true/g" ${home_path}/config/config.toml
|
||||
sed -i "s/seed_mode = false/seed_mode = true/g" ${home_path}/config/config.toml
|
||||
elif [ $instance -ge 1 ]; then
|
||||
echo "$hostname: adding seed address to config.toml."
|
||||
|
|
Loading…
Reference in New Issue