diff options
| author | devhyper <57877914+devhyper@users.noreply.github.com> | 2023-01-31 18:23:20 -0800 |
|---|---|---|
| committer | devhyper <57877914+devhyper@users.noreply.github.com> | 2023-01-31 18:23:20 -0800 |
| commit | 757bc7d7b953ca997aaa2897d79ddd4c37caa45a (patch) | |
| tree | 5adde2cb9eb4f7d28fa567f08f619fb730f2a69a /main.qml | |
| parent | b7ba9437d8cca6df4ecff7f5ae38a53cac5e26b2 (diff) | |
| download | monzero-gui-757bc7d7b953ca997aaa2897d79ddd4c37caa45a.tar.gz monzero-gui-757bc7d7b953ca997aaa2897d79ddd4c37caa45a.tar.xz monzero-gui-757bc7d7b953ca997aaa2897d79ddd4c37caa45a.zip | |
p2pool: Restart monerod only when needed and with proper args
Diffstat (limited to 'main.qml')
| -rw-r--r-- | main.qml | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -748,6 +748,12 @@ ApplicationWindow { currentWallet.startRefresh(); informationPopup.title = qsTr("Daemon failed to start") + translationManager.emptyString; informationPopup.text = error + ".\n\n" + qsTr("Please check your wallet and daemon log for errors. You can also try to start %1 manually.").arg((isWindows)? "monerod.exe" : "monerod") + if (middlePanel.advancedView.miningView.stopMiningEnabled == true) { + walletManager.stopMining() + p2poolManager.exit() + middlePanel.advancedView.miningView.update() + informationPopup.text += qsTr("\n\nExiting p2pool. Please check that port 18083 is available.") + translationManager.emptyString; + } informationPopup.icon = StandardIcon.Critical informationPopup.onCloseCallback = null informationPopup.open(); |
