<p>I want to do mining with python to test my my python code.the mainnet difficulty is high and also the testnet dificulty is high and the regtest does not need pow.does anyone know how i can test my python code and submit the results in bitcoincre-qt? with minimum difficulty in the mainnet? or is there any other way to test my code full functionality ?</p>

CC BY-SA 4.0
2024-12-25T20:58:19.203Z
Regtest actually does need PoW, albeit at just a marginal difficulty. I suggest you use that.
Pieter Wuille
CC BY-SA 4.0
2024-12-26T03:19:21.447Z
my regnet works fine,but the mining is not getting done in my side and it is getting done by bitcoincore-qt .am I wrong?
Siamak
<bitcoin-core>
I want to run bitcoincore-qt in private main net
Siamak
# I want to run bitcoincore-qt in private main net

(Asked by: username_0 on 2024-12-25)

I want to do mining with python to test my my python code.the mainnet difficulty is high and also the testnet dificulty is high and the regtest does not need pow.does anyone know how i can test my python code and submit the results in bitcoincre-qt? with minimum difficulty in the mainnet? or is there any other way to test my code full functionality ?

**Tags:** bitcoin-core

> **Comments:**
> **username_1**: Regtest actually does need PoW, albeit at just a marginal difficulty. I suggest you use that.  
> **username_0**: my regnet works fine,but the mining is not getting done in my side and it is getting done by bitcoincore-qt .am I wrong?  

---

## 0 answers

