Hello devs, I was trying to run this following guide on hosting the private XDC Subnet.
https://medium.com/xinfin/how-to-set-up-a-private-blockchain-network-with-xdc-network-codebase-b2ee82368e83
I have few doubts I have followed the steps has asked in the blog on my laptop.
Question-1
After I get the bootnode information, How do I put it in the run.sh
file? There is no clear instruction about this?
I just replaced all the self:enode I found with the same bootnode information which I think is incorrect.
This is my BootNode Information:
INFO [03-22|10:47:45] UDP listener up self=enode://f7ee4ec9f4c7434ba4d04f3afa47d881d83e4f1774ccdbcc2509d50728dc5936210f7ba00c8c990556926dda67de4da98b49be7d2210e0983d433a7f026c18d4@[::]:30301
This is how I have placed it in run.sh
echo Starting the nodes ...
${PROJECT_DIR}/build/bin/$Bin_NAME --bootnodes "self=enode://f7ee4ec9f4c7434ba4d04f3afa47d881d83e4f1774ccdbcc2509d50728dc5936210f7ba00c8c990556926dda67de4da98b49be7d2210e0983d433a7f026c18d4@[::]:30301" --syncmode "full" --datadir ./nodes/1 --networkid "${networkid}" --port 30303 --rpc --rpccorsdomain "*" --ws --wsaddr="0.0.0.0" --wsorigins "*" --wsport 8555 --rpcaddr 0.0.0.0 --rpcport 8545 --rpcvhosts "*" --unlock "${wallet1}" --password ./.pwd --mine --gasprice "${GASPRICE}" --targetgaslimit "420000000" --verbosity ${VERBOSITY} --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,XDPoS --ethstats "XinFin-MasterNode-01:xinfin_xdpos_hybrid_network_stats@stats.xinfin.network:3000" &
child_proc="$child_proc $!"
${PROJECT_DIR}/build/bin/$Bin_NAME --bootnodes "self=enode://f7ee4ec9f4c7434ba4d04f3afa47d881d83e4f1774ccdbcc2509d50728dc5936210f7ba00c8c990556926dda67de4da98b49be7d2210e0983d433a7f026c18d4@[::]:30301" --syncmode "full" --datadir ./nodes/2 --networkid "${networkid}" --port 30304 --rpc --rpccorsdomain "*" --ws --wsaddr="0.0.0.0" --wsorigins "*" --wsport 8556 --rpcaddr 0.0.0.0 --rpcport 8546 --rpcvhosts "*" --unlock "${wallet2}" --password ./.pwd --mine --gasprice "${GASPRICE}" --targetgaslimit "420000000" --verbosity ${VERBOSITY} --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,XDPoS --ethstats "XinFin-MasterNode-02:xinfin_xdpos_hybrid_network_stats@stats.xinfin.network:3000" &
child_proc="$child_proc $!"
${PROJECT_DIR}/build/bin/$Bin_NAME --bootnodes "self=enode://f7ee4ec9f4c7434ba4d04f3afa47d881d83e4f1774ccdbcc2509d50728dc5936210f7ba00c8c990556926dda67de4da98b49be7d2210e0983d433a7f026c18d4@[::]:30301" --syncmode "full" --datadir ./nodes/3 --networkid "${networkid}" --port 30305 --rpc --rpccorsdomain "*" --ws --wsaddr="0.0.0.0" --wsorigins "*" --wsport 8557 --rpcaddr 0.0.0.0 --rpcport 8547 --rpcvhosts "*" --unlock "${wallet3}" --password ./.pwd --mine --gasprice "${GASPRICE}" --targetgaslimit "420000000" --verbosity ${VERBOSITY} --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,XDPoS --ethstats "XinFin-MasterNode-03:xinfin_xdpos_hybrid_network_stats@stats.xinfin.network:3000"
After which on running run.sh
I get the following error:
Question - 2
The run.sh also throws "list M1 not found" error.
Discussion (5)
You can refer to my documents:
github.com/XinFinOrg/XDPoSChain/pu...
Devs have raised new PR please test it.
Also there is active devs discussion going on github please join it and it would be appreciable if you will share your inputs.
github.com/XinFinOrg/XDPoSChain/pu...
tell us if you still have any issues Looking forward to your reply…
Thank you!
Hey @mitali_blocksscan Have I entered the enode information correctly?
Please try this
github.com/XinFinOrg/XDPoSChain/pu...