-
-
Save rfikki/e2a8c47f4460668557b1e3ec8bae9c11 to your computer and use it in GitHub Desktop.
admin.addPeer("enode://da0c61fe14ba9da1a9835b59d811553d21787448724cfe6412bc17f0b14586df91826d8286b2137342d09a8631df5ea548cf301294b05657c2a90f9c3d526721@143.198.119.44:30303"); | |
admin.addPeer("enode://3e2287c6caf363357efc600611ccb777e6997ef8b749b1f87e94d3a7d2b466bbefba163b0620c88804f18bc70cfbe68538720ac2644fc1c970848488cdca0c7a@143.198.114.251:30303"); | |
admin.addPeer("enode://15ea76b5d30ce9eaabf6a9a8fe5ca0ff032534d296b5b8ca6e00a730d08a4aaa019077c382a6b2d08ebc7cf6f8eb888f5e00e0dd378798e3459a555538654370@157.230.6.79:30303"); | |
admin.addPeer("enode://2e718763172902a8fa4bcdda45f77a5c2688de5230e184d154e4867922b8f6ad23e1016379715cb5f55f6c79060563f93896035e35dfb47361d08599d4908ae8@143.198.118.178:30303"); | |
admin.addPeer("enode://9d45f21eeb37bd5555fac0c4094ae3d4d144d93e2313aeb891bf3054b0dcf6ca817961ed29ea1de00389b5c36dc6bbe9b00443e367b16ed8ba251cea6c242044@94.176.237.140:30303"); | |
admin.addPeer("enode://2493b5b8407ccb1c448d7ad358e838066640f273442730caf80acde2fe98522b1d9dcebd2dc982efe44911a49779888fe72defc181c29596facff05e11958330@68.183.96.143:30303"); | |
admin.addPeer("enode://0eaf8f584181e3c653c30382a8362586133714b1c1c9854774e9209e4615268781a174d5953618560c64236156af2cd72d69f411e567873f9a1f70c1347bc5ce@143.198.121.200:30303"); | |
admin.addPeer("enode://0fdca3b09a4f0f6f8c0e01512fd5506c511cbeaa3441434c80f087bd117fe79677662649c1c7be4ab714875f125ff621e4bdec897e754f89e04fc85f82bc9391@116.202.170.226:30303"); | |
admin.addPeer("enode://be3e34f0cf27e7baa5dc34de25e0295834cea4b30180fb18927864ff102d25889985023b5a51e00846ccf93cf9f5b451cad51c13062f48a23b2951e627269185@157.230.59.231:30303"); |
Thanks @rfikki, these gists are always helpful.
Thank you very much, very useful
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"]
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 :)
<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.
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 "*"
very useful, I got my nodes working, but I got I question a light node can perform any operation what fast and full do, like smart contract,sending eth etc ?
very useful, I got my nodes working, but I got I question a light node can perform any operation what fast and full do, like smart contract,sending eth etc ?
With a light client you should be able to send, receive and deploy smart contracts with no problems
If you do have problems just save you keystore file and use it somewhere else
thank you a lot but where do you find these?
It depends where did you installed it, normally it's under home directory ~/.ethereum is where everything is downloaded and even the keystores greetings from Colombia! 🇨🇴
very useful. thrank this page and everyone
A few more:
["enode://66341afc65c14b7e09f4dcd0e5fe4fedabb976ae4c05f786c6e182b28e712028666eaf47df4f06c583d5d28dd9bc2e05d07854cf8c4d58c9bc7bca4295cffbe5@159.203.94.45:44662", "enode://c1eb17dbf56c9ae2f67bea1d8f0ab6e9f064b7a94c748d68a307526060c83712dbd47f400a74d56c58cbc1e8f7dc8e0c5fd9794adccd75293fe776e1ae4f8fb3@141.95.45.219:59540",
"enode://8d3301b3be58b3d658d71f0156103f0ec692708a9a899c03da4a185b4b8dff4df1cb26438cc8f84dbf8820ab584ff0ec0a697461565a1d05c7d7529bb8971bbc@51.138.7.247:30001", "enode://1fa4f2a99d4d8de2274ce308f31ddf55bb4e96b2174740c5cf2ba86e0e860e767e05144b6ea70b23916edb1afa12d30b9cc0679c7ce64f8b1db67359f0ce323d@51.138.7.153:30002", "enode://fe3b880e21180e87ea7e929cfe2526234273feb59d1cddfede59206830ad3a75f02c541c6924d6622ca8e676e0eb177869d7956039718a75a812afa4696bb403@51.138.7.153:30001", "enode://181b7d2c494d8c74b759a7c885fd0079f39ab8c7effc51017c74115e0ccd9ff1c5de4d84f054dbc056dcf86f2042017451d48cc1f30ac107722848a024dfb0e2@89.145.166.250:30303", "enode://5e64a66fe6a2ab3592847179bd7766dd566c70411589d8980e9bfaef7b1b1b2f970be749379d48ba89bccb0295f0d106976856d8e22283880ce63a8819f744ed@170.39.103.34:30303", "enode://91ac9b1dfecdc2638a32e808715231253f89810c7005c063997f3bf464fccb51b3efb976ac0d36e5c0a2987a34ba5c302f2a36b77de56f157c7e377e265724e5@65.21.178.130:59180", "enode://1b114022f2e6cfcc898905e1a3e5c0fcb9a9326a73cf34c8765aebb2e1f137c5aba662916d8eabc25da2ba3371c7bb4a0bcc591cb367e5de7c2968fb083bafd9@51.105.167.92:30001", "enode://6da7bb29b0993c85f7a63f99f2a12ab538cb536c410c2d73ea7eddbf0090c3e9564acf0271b6006ac438678d95cb84e9ecdeb44b95aee9984123c17333db6f40@51.105.166.213:30001", "enode://f416dbe94322c9b62f378ea3d220be5a1e341bc71bdd7a3bbb91d302bac1e73ff7c535f5983c349dec632bcbfa4d6cfe4b88fc8a876282c512ff7d3a0fadd825@52.208.49.112:58100"]
["enode://75e215c99fa2439892239f4c388b994d82beb08ea758139834cf1796d5963a7d0ba6c832b1e45dd5f2783f503bd8eac2dac694f4b0c657a496bfb4362f16a489@104.180.252.180:41736", "enode://8bb0c33e2552a013e6d842b4817fa31f9f58e46fe68b9622c22b1177ac811c80178ee40b3c9e7737c63f4858bf15d2135ffd4dd9d5a84018bb06941a9d5e0aab@51.81.244.143:56222", "enode://66341afc65c14b7e09f4dcd0e5fe4fedabb976ae4c05f786c6e182b28e712028666eaf47df4f06c583d5d28dd9bc2e05d07854cf8c4d58c9bc7bca4295cffbe5@159.203.94.45:49370", "enode://c1eb17dbf56c9ae2f67bea1d8f0ab6e9f064b7a94c748d68a307526060c83712dbd47f400a74d56c58cbc1e8f7dc8e0c5fd9794adccd75293fe776e1ae4f8fb3@141.95.45.219:59540", "enode://5aff7b6d798ef8c9763c1195ce93407709a1e5eacfc588f27c07f94cf35b149054daf399ba66e1b1343ea734ade42d22440edee935e363197903fee8ec40c3df@95.111.250.187:30303", "enode://9297b2fa77c95e57335f2f540aecd295ad2910ae80a5c3435173e85e9f41df2382804a4e77db381c939481ef77d23bb006e1b0b484615ace99ec36a51c3d6b15@74.118.143.146:50636", "enode://8d3301b3be58b3d658d71f0156103f0ec692708a9a899c03da4a185b4b8dff4df1cb26438cc8f84dbf8820ab584ff0ec0a697461565a1d05c7d7529bb8971bbc@51.138.7.247:30001", "enode://1fa4f2a99d4d8de2274ce308f31ddf55bb4e96b2174740c5cf2ba86e0e860e767e05144b6ea70b23916edb1afa12d30b9cc0679c7ce64f8b1db67359f0ce323d@51.138.7.153:30002", "enode://9d74b95b75344cae7c45dda38d94832ea161d17d4bb2a781ad8fb21f76ea711c8aef32115746592b180ff027738109c104a27d45210bf3e8397bde623324f319@49.12.222.57:30303", "enode://f60710578e6e364ea003cd6a0d6f0aecf23fc592c45fc761d1f4a01872cebc8adee220260dde64634b39d440bcf78b383e59a80fe05506a0959aa210b5136e1b@34.81.33.87:30303", "enode://6bb782eb953c95910772116b056c28b1e368e9712b03c4a4c1f83b0ea9b8e8f72ac0ab2871c98be1e32686a4fc4053d69db770d30678e58f64b346daab760bef@52.194.240.139:50706", "enode://fe3b880e21180e87ea7e929cfe2526234273feb59d1cddfede59206830ad3a75f02c541c6924d6622ca8e676e0eb177869d7956039718a75a812afa4696bb403@51.138.7.153:30001", "enode://e134a912b17f832b77972656561c9af06773462c9a0bcadf92f634c33351b3d5eef56bdf40c1ca962449c386927713b323767623f6c94959318d032aae82f869@54.237.155.110:55276", "enode://5e64a66fe6a2ab3592847179bd7766dd566c70411589d8980e9bfaef7b1b1b2f970be749379d48ba89bccb0295f0d106976856d8e22283880ce63a8819f744ed@170.39.103.34:30303", "enode://ff3e75723ab762940a6ddec63ec6626458592ad39cdecb3dfd6bdf5440a01012b252810dc5c0d32b6f490ea418594a8c51ec06a0cac3b3c030e6a9ebf10bd149@222.106.187.13:41358", "enode://5749f3520b6980929d7621754a796ada041bca371070bbd91d0a3f6c9a5a6d8f24580cfd8806116992f39056a90b711266d9f6c7c6e5ebdeca8c403ef878e111@142.93.69.159:53654", "enode://1b114022f2e6cfcc898905e1a3e5c0fcb9a9326a73cf34c8765aebb2e1f137c5aba662916d8eabc25da2ba3371c7bb4a0bcc591cb367e5de7c2968fb083bafd9@51.105.167.92:30001", "enode://6da7bb29b0993c85f7a63f99f2a12ab538cb536c410c2d73ea7eddbf0090c3e9564acf0271b6006ac438678d95cb84e9ecdeb44b95aee9984123c17333db6f40@51.105.166.213:30001", "enode://f416dbe94322c9b62f378ea3d220be5a1e341bc71bdd7a3bbb91d302bac1e73ff7c535f5983c349dec632bcbfa4d6cfe4b88fc8a876282c512ff7d3a0fadd825@52.208.49.112:58100", "enode://c5e1dab15b293ac3bd3eac23c50e20cd24a867df8cfdaf0d50a119a416a533bc572a49c3f7414cb0b9b549db7463bb7785f9b6f9121d642c73de1eeb74723427@95.217.46.116:30303", "enode://8a6fa990b77a50e96b680f3da31c5ec5938bef83e1cbc268c2c1ed833945b6909bedb48036a1ebb0189e79cc1cb55b232d920bcd177488d809692e111f1cb58a@54.172.142.193:30303", "enode://c942c714dd68c5baf1ed9a7445b2b265b3d92865ba6e23351772f93ee7c53c1b0142d141bb305a22ffced7cde3b4fe8a9649d632ddddc44cc53c86dc7e709b8e@188.165.235.190:46826", "enode://a6ceaedf9fce9b1c3b8930d33d4a7973834305d4da7a395a8b75f6e35ca744caf059f3d1c00261c64fb59234929c8cae61ad193309e8be42504dc7e3ef538b88@18.234.248.237:46202", "enode://1aad85d00414586c5b660af266eea0a12b0a70f591cb3c92e07f2a509779f94826f9d499085a6d68dc96c7e9aabb23ee91869caa259058f316e4c60c212141ef@44.201.62.97:30303", "enode://0b99806e63da6ce4513e466bf7707fcd1082dbdb67287516da43692b88ea2c3be8336c9c07a1b0ae5f78e5519f3f0db994ad292499a96976abe1ef8ad9bcc62f@205.178.35.131:30303", "enode://b47b44c3fe6f98b92a0d67c8568c5bbc322dda5642bd257bfe6c2175ef109000db96383c8832cb7cc6797af91ada431a6fe08f620e4cdba95b89a12d4547a956@3.18.127.31:40966", "enode://c51d3f280e7f35b33586497a3b24bab31ff86756c1f4c9aced5bdde75df57b2cf59a0eb8a05f1cc3eeaa361fdea5a0b95511a6c3536bd3da9859f65add8fb1b6@3.236.187.242:30303", "enode://ba9d95fbed8f38991a9db9f44896f8ecd00a65efe7b028fb938c5324916856fa449926d06edb141460a39bfdbba559a16882befaa20e007895e59a9da5d4b4b1@141.94.102.90:30303", "enode://c99d931f4f8fcbdefd325d04babf54a01aa4a01e8734e2b2d80c079bd5476f924baae367f8e6588bed1dd9857075cefd15fa22cd5d338f9681551cab5c6ab3e4@51.195.234.141:56708", "enode://9bf2f4431f8c2307af9f5fb249b847da1dfbc3f72c544b1cd88cf6a76163ac26eb8f66ba5456c97861e758055fe84d1c9ce9fa40d64838bda23577bbac6202b7@54.158.17.133:30303", "enode://6803f24379caf278da310152faa163c833f6345529d9073702d7f02e4557ae4e24c1be0383b80a6388e955fe2413f16bc24c6f1b78af18cbf1426286a4b60f2f@52.45.165.45:50696"].forEach(function(value){admin.addPeer(value)});
Are these enodes still working?
Are these enodes still working?
I have't tried since the day I posted them.
(assuming you're referring to the ones I posted. I don't know about the ones in the original gist, haven't tried them in a while either)
how do you get these list of nodes? so one can generate the new list?
can someone please help me on what command to add peers?
~/.ethereum/geth # geth attach http://localhost:8545
Welcome to the Geth JavaScript console!
instance: Geth/v1.11.0-unstable-ec2ec2d0/linux-amd64/go1.19.3
at block: 15569791 (Mon Sep 19 2022 19:59:35 GMT+0000 (UTC))
modules: eth:1.0 net:1.0 rpc:1.0 web3:1.0
To exit, press ctrl-d or type exit
> admin.addPeer("enode://15ea76b5d30ce9eaabf6a9a8fe5ca0ff032534d296b5b8ca6e00a730d08a4aaa019077c382a6b2d08ebc7cf6f8eb888f5e00e0dd378798e3459a555538654370@157.230.6.79:30303");
ReferenceError: admin is not defined
at <eval>:1:1(0)
>
can someone please help me on what command to add peers?
~/.ethereum/geth # geth attach http://localhost:8545 Welcome to the Geth JavaScript console! instance: Geth/v1.11.0-unstable-ec2ec2d0/linux-amd64/go1.19.3 at block: 15569791 (Mon Sep 19 2022 19:59:35 GMT+0000 (UTC)) modules: eth:1.0 net:1.0 rpc:1.0 web3:1.0 To exit, press ctrl-d or type exit > admin.addPeer("enode://15ea76b5d30ce9eaabf6a9a8fe5ca0ff032534d296b5b8ca6e00a730d08a4aaa019077c382a6b2d08ebc7cf6f8eb888f5e00e0dd378798e3459a555538654370@157.230.6.79:30303"); ReferenceError: admin is not defined at <eval>:1:1(0) >
add "admin" on --http-api
like
--http-api "eth,admin"
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.