Is it possible to create 2 geth instance on single PC? Both are connected the private blockchain?
When I connect a node to the private blockchain,it must sync with the blockchain by downloading all blocks upto latest one.Is this possible to do this on a 2nd node instance in same PC?
If not, what is the reason behind this?
I am getting the following error while I tried to run two instance.
First Node
geth --identity "TestNode1" --rpc --rpcport "8545" --rpccorsdomain "*" --datadir <data-path-1> --port "30303" --rpcapi db,eth,net,web3,personal,miner --networkid 987 console 2>> logfile_1
Second Node
geth --identity "TestNode2" --rpcport "8545" --rpcaddr "xxx.xxx.xx.xx" --ipcdisable --rpccorsdomain "*" --datadir <data-path-2> --port "30304" --rpcapi db,eth,net,web3,personal,miner --networkid 987 console 2>> logfile_2
Error:
INFO [10-26|09:30:33.099] Block synchronisation started
WARN [10-26|09:30:33.107] Node data write error err="state node 255a57…77b997 failed with all peers (1 tries, 1 peers)"
WARN [10-26|09:30:33.107] Synchronisation failed, retrying err="state node 255a57…77b997 failed with all peers (1 tries, 1 peers)"
Node data write error .sync failed retrying– Pt.AR Oct 25 '18 at 11:34geth --datadir < path> --rpcaddr 192.xxx.xx.xx --port "30305" --ipcdisable --networkid 987– Pt.AR Oct 25 '18 at 12:17net.peerCountandadmin.peers. – Pt.AR Oct 26 '18 at 04:13Synchronisation failed, dropping peer.retrieved hash chain is invalid Header broke chain ancestryAny issue in Hash pointer? – Pt.AR Oct 26 '18 at 04:59