-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
got wrong beaconEpoch when mining block #11977
Comments
Can you please add your |
@TippyFlitsUK Can you turn on the DEBUG logs for Drand on your miner, and monitor over a couple of days, then we can see if you also see this type of discrepancy. |
@lyswifter / @firesWu Are you caching the caching the Drand entry by any chance? And if so, is that a modification that you have added? Additional, where are you fetching Drand from? |
Before the upgrade of |
Actually we had turned off the caching loop of |
I had not figure out which api we used when the problem arose, but I had not changed the default |
We haven't made any modifications about drand. and use default drand config. After the upgrade of 'Quicknet', we founds that sometimes we lose block production rights due to obtaining the wrong beacon epoch. |
Running now Phi 👍 |
I was concerned about this, so I hacked my daemon to request beacons from Drand the way a miner would and FREAK OUT if it got an unexpected response (that is, a round that isn't what I requested). It ran for a few days with no issue, but that doesn't confirm there isn't an issue. |
Checklist
Latest release
, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Lotus component
Lotus Version
Repro Steps
No response
Describe the Bug
According to the log, when the miner calls
MinerGetBaseInfo
, lotus requestsbeaconEpoch
from Drand, which are 7442432 and 7442992, but what the miner actually obtains is 7442434 and 7442994. The miner maybe lose block production rights.In most cases, the correct
beaconEpoch
can be obtained.Logging Information
lotus log
The text was updated successfully, but these errors were encountered: