mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-30 12:48:55 +01:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46accb1077 | ||
|
|
7a91ba5a84 |
+1
-1
@@ -205,7 +205,7 @@ if(TOR_BIN)
|
|||||||
if (EXISTS "${tor_path}")
|
if (EXISTS "${tor_path}")
|
||||||
message(STATUS "Tor found: ${tor_path}")
|
message(STATUS "Tor found: ${tor_path}")
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "TOR_BIN is set, so the following file needs to be present: '${fn}'")
|
message(FATAL_ERROR "TOR_BIN is set, so the following file needs to be present: '${tor_path}'")
|
||||||
endif()
|
endif()
|
||||||
set(TOR_BIN "${tor_path}")
|
set(TOR_BIN "${tor_path}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user