Skip to content

Commit

Permalink
Merge pull request #57 from XinFinOrg/quick_fix
Browse files Browse the repository at this point in the history
Fix block stuck issue.
  • Loading branch information
AnilChinchawale committed Nov 1, 2021
2 parents 85c0590 + 7cb0b81 commit e76ecfd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.4"

services:
xinfinnetwork:
image: xinfinorg/xinfinnetwork:xdc_mainnet_rpc_v1.0.1
image: xinfinorg/xinfinnetwork:xdc_mainnet_ignoreBlock
volumes:
- "./xdcchain:/work/xdcchain"
- "./genesis.json:/work/genesis.json"
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/xdc-mainet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /work
RUN \
apt-get update && apt-get install -y git build-essential && \
git clone https://github.com/XinFinOrg/XDPoSChain.git xdcchain && \
(cd xdcchain && git checkout --detach d3963c816b5b1655b5a608e1d81329b4716c41aa && make)
(cd xdcchain && git checkout --detach 82bc50b7442f6f10a92f7e71b5abdc63c778c261 && make)

RUN cp /work/xdcchain/build/bin/XDC /usr/bin && chmod +x /usr/bin/XDC && \
rm -rf xdcchain
Expand Down
2 changes: 1 addition & 1 deletion start-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ INSTANCE_IP=$(curl https://checkip.amazonaws.com)
netstats="${INSTANCE_NAME}:xinfin_xdpos_hybrid_network_stats@stats.xinfin.network:3000"

echo "Starting nodes with $bootnodes ..."
XDC --ethstats ${netstats} --bootnodes ${bootnodes} --syncmode ${NODE_TYPE} --datadir /work/xdcchain --networkid 50 -port 30303 --rpc --rpccorsdomain "*" --rpcaddr 0.0.0.0 --rpcport 8545 --rpcvhosts "*" --ws --wsaddr="0.0.0.0" --wsorigins "*" --wsport 8546 --unlock "${wallet}" --password /work/.pwd --mine --gasprice "1" --targetgaslimit "420000000" --verbosity 2 2>&1 >>/work/xdcchain/xdc.log | tee --append /work/xdcchain/xdc.log
XDC --ethstats ${netstats} --gcmode=archive --bootnodes ${bootnodes} --syncmode ${NODE_TYPE} --datadir /work/xdcchain --networkid 50 -port 30303 --rpc --rpccorsdomain "*" --rpcaddr 0.0.0.0 --rpcport 8545 --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,XDPoS --rpcvhosts "*" --ws --wsaddr="0.0.0.0" --wsorigins "*" --wsport 8546 --wsapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,XDPoS --unlock "${wallet}" --password /work/.pwd --mine --gasprice "1" --targetgaslimit "420000000" --verbosity 2 2>&1 >>/work/xdcchain/xdc.log | tee --append /work/xdcchain/xdc.log

0 comments on commit e76ecfd

Please sign in to comment.