Skip to content

Mining SHA256 via wallet becomes stuck - stopping and starting the miner fixes the problem temporarily #862

@codeofalltrades

Description

@codeofalltrades

Describe the issue
Mining SHA256 via wallet becomes stuck though i never got left behind or banned. Feels like when the 5 in a row limit is reached while on sha, wallet swithes all resources trying to build the 6th but it gets rejected, creating a loop.

**What behavior did you expect? **
Mining SHA256 should not stop syncing the chain.

Mining is stuck at block until you stop the miner generatecontinuous false
and then restart it generatecontinuous true 1

How reliably can you reproduce the issue, what are the steps to do so?

What version of the Veil client are you using, where did you get it (website, self-compiled, etc)?
Qt wallet

What type of machine are you observing the error on (OS/CPU and disk type)?
Windows 10 - Ryzen 3900x
AMD r7 3700x

Any extra information that might be useful in the debugging process.
I have tried with both staking enabled and disabled

Log file
2020-11-02T20:08:01Z UpdateTip: new best=ff8881348a6283a2ec09740be6a30088bada4587490c0c4a7bc5d889f8c5063f height=942845 type=PoS version=0x30000000 tx=2155963 date='2020-11-02T20:07:24Z' cache=0.2MiB(1262txo)
2020-11-02T20:08:03Z ERROR: CreateNewBlock: stale tip.
2020-11-02T20:08:08Z ERROR: CreateNewBlock: stale tip.
2020-11-02T20:08:24Z UpdateTip: new best=fd18796a4c88dd8c24f119f73c020fa2c7053b5db7beae516395c868620d6af1 height=942846 type=PoS

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions