Add annouce-txs, maxpeers 25

annouce-txs, default disable

Our masternodes have to enable it, if not, TomoScan, TomoMaster can not receive data from the nodes -> need to update infa repo
This commit is contained in:
Nguyen Sy Thanh Son 2018-12-10 11:41:50 +07:00 committed by GitHub
parent 780a91e76f
commit 2a8a32984a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,6 +139,11 @@ else
echo "WS_SECRET not set, will not report to netstats server."
fi
# annonce txs
if [[ ! -z $ANNOUNCE_TXS ]]; then
params="$params --announce-txs"
fi
# dump
echo "dump: $IDENTITY $account $BOOTNODES"
@ -151,7 +156,7 @@ exec tomo $params \
--identity $IDENTITY \
--password ./password \
--port 30303 \
--maxpeers 50 \
--maxpeers 25 \
--txpool.globalqueue 5000 \
--txpool.globalslots 5000 \
--rpc \