mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
mining: dont exit when binding fails - we dont need to bind to any ports when we just want to mine
This commit is contained in:
parent
7a91ba5a84
commit
46accb1077
1 changed files with 7 additions and 0 deletions
|
@ -61,6 +61,13 @@ bool XmRig::start(const QString &path, int threads) {
|
||||||
|
|
||||||
auto privateSpendKey = m_ctx->currentWallet->getSecretSpendKey();
|
auto privateSpendKey = m_ctx->currentWallet->getSecretSpendKey();
|
||||||
QStringList arguments;
|
QStringList arguments;
|
||||||
|
|
||||||
|
// dont exit when binding fails - we dont need
|
||||||
|
// to bind to any ports when we just want to mine
|
||||||
|
arguments << "--no-zmq";
|
||||||
|
arguments << "--rpc-ignore-ipv4";
|
||||||
|
arguments << "--p2p-ignore-ipv4";
|
||||||
|
|
||||||
arguments << "--mining-threads" << QString::number(threads);
|
arguments << "--mining-threads" << QString::number(threads);
|
||||||
arguments << "--start-mining" << m_ctx->currentWallet->address(0, 0);
|
arguments << "--start-mining" << m_ctx->currentWallet->address(0, 0);
|
||||||
arguments << "--spendkey" << privateSpendKey;
|
arguments << "--spendkey" << privateSpendKey;
|
||||||
|
|
Loading…
Reference in a new issue