Skip to content
Permalink
Browse files

change node config

  • Loading branch information...
thanhson1085 committed Nov 22, 2018
1 parent 5f95df3 commit beef66073be30af08434ee9a71df36e9aae02d24
Showing with 8 additions and 7 deletions.
  1. +4 −1 main.sh
  2. +4 −6 node.sh
@@ -32,6 +32,9 @@ child_proc=$!
echo Starting the nodes ...
${PROJECT_DIR}/build/bin/tomo \
--bootnodes "enode://7d8ffe6d28f738d8b7c32f11fb6daa6204abae990a842025b0a969aabdda702aca95a821746332c2e618a92736538761b1660aa9defb099bc46b16db28992bc9@127.0.0.1:30301" \
--maxpeers 25 \
--txpool.globalqueue 5000 \
--txpool.globalslots 5000 \
--syncmode "full" --datadir ./node --networkid ${NETWORK_ID} --port 30303 \
--rpc --rpccorsdomain "*" --rpcaddr 0.0.0.0 --rpcport 8545 \
--ws --wsaddr 0.0.0.0 \
@@ -40,6 +43,6 @@ ${PROJECT_DIR}/build/bin/tomo \
--unlock "${wallet}" \
--password ./.pwd \
--mine --gasprice "${GASPRICE}" \
--targetgaslimit "420000000" \
--targetgaslimit "84000000" \
--verbosity ${VERBOSITY} \
--ethstats "${NODE_NAME}:test&test@localhost:3002"
10 node.sh
@@ -18,15 +18,13 @@ GASPRICE="2500"
echo Starting the node ...
${PROJECT_DIR}/build/bin/tomo --bootnodes "enode://7d8ffe6d28f738d8b7c32f11fb6daa6204abae990a842025b0a969aabdda702aca95a821746332c2e618a92736538761b1660aa9defb099bc46b16db28992bc9@${MAIN_IP}:30301" \
--syncmode 'full' \
--maxpeers 35 \
--txpool.globalqueue 10000000 \
--txpool.globalslots 10000000 \
--txpool.accountqueue 100000000 \
--txpool.accountslots 10000000 \
--maxpeers 25 \
--txpool.globalqueue 5000 \
--txpool.globalslots 5000 \
--datadir ./node --networkid ${NETWORK_ID} --port 30303 --rpc --rpccorsdomain "*" \
--rpcaddr 0.0.0.0 --rpcport 8545 --rpcvhosts "*" --unlock "${wallet}" --password .pwd \
--ws --wsaddr 0.0.0.0 \
--wsport 8546 --wsorigins "*" --maxpeers 25 \
--mine --gasprice "${GASPRICE}" --targetgaslimit "420000000" --verbosity ${VERBOSITY} \
--mine --gasprice "${GASPRICE}" --targetgaslimit "84000000" --verbosity ${VERBOSITY} \
--ethstats "${NODE_NAME}:test&test@${MAIN_IP}:3002"

0 comments on commit beef660

Please sign in to comment.
You can’t perform that action at this time.