I have an Ethereum node that is not syncing to the Ethereum network. It is possible that there are some issues with the bootnodes –
refer to geth does not sync out of the box .
How can I easily create a list of peers from my syncing node so I can copy and paste a list of admin.addPeer(...)
command into my non-syncing node?
Best Answer
Run the following command in your syncing node to create a list of
admin.addPeer(...)
commands that you can paste into your non-syncing node:Running the command above will create the following list of
admin.addPeer(...)
commands that you can paste into yourgeth console
orgeth attach
command line to start your non-syncing geth node syncing:The script replaces the ports of the peers to
30303
assuming that this is the port the connected peers are listening on. Some of these will be correct, some will not be. But this is enough to kick-start your node syncing.And here's another list from another of my syncing
geth
nodes:I restarted one of my syncing
geth
nodes and have another list of peers below:I'm looking forward to the next version of
geth
with this issue fixed.See Reddit - Ethereum Wallet
geth
Client Not Syncing - Possible Problems With Bootnodes for instructions on inserting theseadmin.addPeer(...)
lines into thegeth attach
orgeth console
commands for OS/X, Windows and Linux.