Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Updated OCTOBER 08, 2019
admin.addPeer("enode://05b03241bae2a17534a4ffa005d075e38868f89c6db95b0e089c67ff6d3e9ed3f7132d4e9d57f09628f4827cfb370fe5f624c36af44899e423aacf4869a3adf3@13.124.4.106:30303");
admin.addPeer("enode://773b356b09d88f3055e0a027f372fcf2a0664560498a54f363379f9fb13ed6c99dbe8770e49675231dc4ea05b2fe0f80d18342cfb2037b2a1d1619b593608309@208.88.169.151:30303");
admin.addPeer("enode://f9cf05938ada608d9f11ec8ae1e6b516bc30d54d126d38a14a4a3af6488a7fef4843203c24fd5faa1f739de1366818695b88184a3c9b7d615452f93ae83fa06d@68.185.171.253:30303");
@yuwenbai

This comment has been minimized.

Copy link

commented May 10, 2018

how to use this file?

@IUnderstandLetsChangeMyUsername

This comment has been minimized.

Copy link

commented May 21, 2018

Start geth in console mode like this: geth --syncmode light --verbosity 2 --maxpeers 0 console and then successively enter these commands into the opened console. In my case, --maxpeers 0 option seemed also to be necessary. Block sync should then start.

@IUnderstandLetsChangeMyUsername

This comment has been minimized.

Copy link

commented May 21, 2018

But keep in mind that some peers from this list have invalid hash chain. geth will automatically drop them though, so no any additional actions are needed.

@homotopycolimit

This comment has been minimized.

Copy link

commented Jun 17, 2018

Thanks @rfikki, these gists are always helpful.

@lmssky

This comment has been minimized.

Copy link

commented Nov 21, 2018

Thank you very much, very useful

@jtakalai

This comment has been minimized.

Copy link

commented Nov 26, 2018

Here's the same list, you can paste it to <datadir>/geth/static-nodes.json:

["enode://3afdfd40713a8b188a94e4c7a9ddc61bc6ef176c3abbb13d1dd35eb367725b95329a7570039044dbffa49c50d4aa65f0a1f99ee68e46b8e2f09100d11d4fc85a@31.17.230.132:30303", 
"enode://7578d1e6d6e256272ae3ff6680d7c2a6b72233231a10f15180a8fcdb2425692c81542a3e7255a804ceda8b081987d007e4e30f9a9e893107b344d7b9b07b11f1@50.250.156.59:30303", 
"enode://4c2b5c5d9503b7f4e76a551c827f19200f7f9ebb62f2cb5078c352de1e8d4d1006efa8fc143f9ccf2c8fd85836198dc1c69729dfa1c54d63f5d1d57fd8781bf8@62.151.178.212:30303", 
"enode://8fcd039bb514ccac1f207d9b23efbea79a1ba9ed559768109b9b3fc9f7f89cfc3a6cd3e11ec1d92a93bdbfe2322e43f3bb3d9519530e8b503c92294116c38c32@108.232.148.241:30303", 
"enode://bfad505cbb2bde72e161a7cff044d66d20ceb85c8a61047b50037881f289bd2dcc064189ade2077daddd5b20fd2fc6dee7208f227ae2a34361bf51751d225e8e@51.15.220.91:30303", 
"enode://1d70e87a2ee28a2762f1b2cd56f1b9134824a84264030539bba297f67a5bc9ec7ae3016b5f900dc59b1c27b4e258a63fc282a37b2dd6e25a8377473530513394@208.88.169.151:30303", 
"enode://ea1737bf696928b4b686a2ccf61a6f2295d149281a80b0d83a9bce242e7bb084434c0837a2002d4cc2840663571ecf3e45517545499c466e4373c69951d090fe@163.172.181.92:30303", 
"enode://0f740f471e876020566c2ce331c81b4128b9a18f636b1d4757c4eaea7f077f4b15597a743f163280293b0a7e35092064be11c4ec199b9905541852a36be9004b@206.221.178.149:30303", 
"enode://03f178d5d4511937933b50b7af683b467abaef8cfc5f7c2c9b271f61e228578ae192aaafc7f0d8035dfa994e734c2c2f72c229e383706be2f4fa43efbe9f94f4@163.172.149.200:30303", 
"enode://242b68a4e37b4478c46901c3512315f36bd1aa513566d1f061939b202258b55d63d66367bc5807e62ec03ae673bead9a351846e3f23284ce79537ff7afa65615@34.201.26.61:30303"]
@folex

This comment has been minimized.

Copy link

commented Mar 3, 2019

how to use this file?

If you're already have a running geth, then:

$ geth attach ipc:/path/to/geth.ipc

And simply copy-paste admin.addPeer commands.

If you haven't modified --datadir, then usually geth.ipc will be at default location, and you can omit ipc:/path/to/geth.ipc part. Showing it here, because it's not documented a kinda hard to figure out :)

@travisdmathis

This comment has been minimized.

Copy link

commented Mar 28, 2019

<3 thanks a ton for this.. went from being unable to sync a lightnode, to getting it done in 5 minutes w/ this simple list of nodes. I used --maxpeers 0 w/ @jtakalai technique and all my light node synching issues went away.

@daithi-coombes

This comment has been minimized.

Copy link

commented Apr 20, 2019

same... this was only solution I could get working, geth 1.8.27

version: "3"

services:
  geth:
    image: kunstmaan/ethereum-geth
    ports:
      - "8545:8545"
      - "8546:8546"
      - "30303:30303"
    command: geth --syncmode "light" --maxpeers 0 --rpc --rpcapi db,eth,net,web3,personal,admin --rpccorsdomain "*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.