Skip to content
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

[POW][Bug] Mining does not work #1285

Closed
inshakovav opened this issue Jan 17, 2020 · 1 comment
Closed

[POW][Bug] Mining does not work #1285

inshakovav opened this issue Jan 17, 2020 · 1 comment

Comments

@inshakovav
Copy link

Summary:
The Wallet app (pivx-qt) gives the mining error after a restart.

Steps to Reproduce:

  1. Start the wallet pivx-qt
  2. Start mining using the command:
    setgenerate true
  3. Restart the pivx-qt
  4. Start mining again.

Expected Results:
Generate next block

Actual Results:
We get the error: "ERROR: PIVXMiner : generated block is stale"

Most likely the error appeared after the commit:
furszy committed on 17 Dec 2019
4976c0a

Perhaps, after the wallet reboots, the variable
g_best_block in file src/miner.cpp
is not correctly initialized at startup.

@random-zebra
Copy link

PoW phase has ended both on mainnet and testnet. Only staking allowed now.
You can mine on regtest with the generate RPC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants