GithubHelp home page GithubHelp logo

Comments (11)

web3dev2023 avatar web3dev2023 commented on September 25, 2024 3
  1. First generate a config file: geth.exe --mainnet dumpconfig > geth-config.toml
  2. Then edit this file, add your favourite peers to StaticNodes , save it with UTF-8 encoding (I used Notepad++)
  3. Finally run geth with the flag --config geth-config.toml

i'm very confused because I'm using nethermind (i gave up on geth).. can you give me specific steps on how to migrate from prysm to lighthouse using nethermind? thanks!

It's basically the same as running prysm, here is my script. You might need to sync from genesis.
C:\Users\admin\lighthouse.exe bn --network mainnet --execution-endpoint http://localhost:8551 --datadir d:/ethereum/execution --execution-jwt D:/ethereum/consensus/prysm/jwt.hex --target-peers 60

from prysm.

defeedme avatar defeedme commented on September 25, 2024 2

Hi all, it appears the problem was with my Time Sync program (net time) .. I had the sync interval set at 2 hours.. the ntp servers must have been giving bad data or something.. and windows sucks with accurate time to begin with.. So the solution was to use the google time servers and change it to 10 min sync interval.. so far so good!!! 2 days almost perfect!
nettimegoodversion
nettimegood

from prysm.

web3dev2023 avatar web3dev2023 commented on September 25, 2024 2

let me know if you find out anything.. It seems like something they did around December really made it bad for windows users.. I would love to switch to a minority client but just haven't had the time to figure it out..

can you add your comment to this new issue

Yes, I did found a workaround:

  • I am now using the lighthouse beacon client and it has no issue in finding peers.

  • At the same time geth can find a few peers before losing them and I added them to static peers:

  1. First generate a config file: geth.exe --mainnet dumpconfig > geth-config.toml
  2. Then edit this file, add your favourite peers to StaticNodes , save it with UTF-8 encoding (I used Notepad++)
  3. Finally run geth with the flag --config geth-config.toml

from prysm.

web3dev2023 avatar web3dev2023 commented on September 25, 2024 1

Same issue. I have a Windows 10 and a Windows 11 PC. The beacon client running on them loses peers after a few hours. I sync the Windows time every 5 minutes but it does not work.

They had been working fine for months. I guess the issue became prominent since the Dencun upgrade.

from prysm.

defeedme avatar defeedme commented on September 25, 2024

welp my system worked fine for 3 years and now I lose all peers after about 2 hours, had to setup a schedule task to kill and restart beacon every 2 hours.. solution below!!

from prysm.

james-prysm avatar james-prysm commented on September 25, 2024

i'll try to add this to the docs

from prysm.

james-prysm avatar james-prysm commented on September 25, 2024

closing issue with added docs now

from prysm.

defeedme avatar defeedme commented on September 25, 2024

welp guess i spoke to soon. back to the same problem. it worked for 2-3 days then stopped. I rebooted my router / modem and same thing worked for a day.. I'm really at my wits end. can't understand how when i stop and restart beacon it works for a few hours then stops. its maddening.

from prysm.

defeedme avatar defeedme commented on September 25, 2024

Same issue. I have a Windows 10 and a Windows 11 PC. The beacon client running on them loses peers after a few hours. I sync the Windows time every 5 minutes but it does not work.

They had been working fine for months. I guess the issue became prominent since the Dencun upgrade.

following.. please let me know if you find out anything.. It seems like something they did around December really made it bad for windows users.. I would love to switch to a minority client but just haven't had the time to figure it out..

can you add your comment to this new issue i opened? #13936

thanks!

from prysm.

defeedme avatar defeedme commented on September 25, 2024

let me know if you find out anything.. It seems like something they did around December really made it bad for windows users.. I would love to switch to a minority client but just haven't had the time to figure it out..
can you add your comment to this new issue

Yes, I did found a workaround:

  • I am now using the lighthouse beacon client and it has no issue in finding peers.
  • At the same time geth can find a few peers before losing them and I added them to static peers:
  1. First generate a config file: geth.exe --mainnet dumpconfig > geth-config.toml
  2. Then edit this file, add your favourite peers to StaticNodes , save it with UTF-8 encoding (I used Notepad++)
  3. Finally run geth with the flag --config geth-config.toml

thanks so much for the workaround! i've been suffering for months lol.. at least now I know I'm not crazy and this is definitely a real issue.. lighthouse here we come

from prysm.

defeedme avatar defeedme commented on September 25, 2024
  1. First generate a config file: geth.exe --mainnet dumpconfig > geth-config.toml
  2. Then edit this file, add your favourite peers to StaticNodes , save it with UTF-8 encoding (I used Notepad++)
  3. Finally run geth with the flag --config geth-config.toml

i'm very confused because I'm using nethermind (i gave up on geth).. can you give me specific steps on how to migrate from prysm to lighthouse using nethermind? thanks!

from prysm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.