Solution to Error "mined block in the past" due to windowpost and winpost happening at the same time - Solution not verified by lotus team #7797
Replies: 5 comments 2 replies
-
Please download the updated code at the link below: |
Beta Was this translation helpful? Give feedback.
-
The fix is based on the lotus version 1.13.0:
|
Beta Was this translation helpful? Give feedback.
-
BTW, we use two RTX 3090 GPU cards on a miner box. |
Beta Was this translation helpful? Give feedback.
-
Could you open the changes in a merge request so we can easily see the diff? |
Beta Was this translation helpful? Give feedback.
-
This is a simple and effective solution. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary:
Build:
Put those updated files to your cargo folder (e.g. ~/.cargo/registry/src/github.com-1ecc6299db9ec823). and build it according to the official guide.
Run:
If you start miner with systemctl, add a WINPOST_TMPDIR env. variable to the EnvironmentFile specified in the miner service file.
In case you start miner with script, export the WINPOST_TMPDIR env. variable before you start the miner script. Make sure it is different from the TMPDIR env. variable
export WINPOST_TMPDIR=/etc/ipfs/tmpDir_win
Please let us know if you have any question.
Beta Was this translation helpful? Give feedback.
All reactions