-
trevisol
hello
-
trevisol
how to start mining directly from daemon on gui without clicking mining
-
trevisol
arguments << "--bg-mining-enable"; is not working
-
moneromooo
IIRC you get asked when creating a wallet if you want to enable it.
-
trevisol
no i want to enable without clicking
-
trevisol
there is src/daemon/DaemonManager.cpp code to inject commands to daemon but is not working
-
trevisol
or is smth else i dont know
-
trevisol
from the moment that i open gui i want to mine without clicking anywhere
-
moneromooo
Right, but once it's enabled once it starts again when you load hte wallet without further interaction.
-
moneromooo
At least for monero-wallet-cli it's that way.
-
moneromooo
Got to wait for a GUI person who knows then.
-
trevisol
there are old people that dont understand complicated menu
-
trevisol
anyone here on how to enable daemon to mine without clicking?
-
xmr-pr
xiphon opened pull request #3361: LeftPanel: drop Advanced submenu items, use NavBar instead
-
xmr-pr
-
trevisol
hi
-
trevisol
how to enable mining without clicking anywhere
-
trevisol
from the moment that gui open mining start
-
gingeropolous
trevisol, hi. what kind of mining are you attempting?
-
trevisol
solo
-
moneromooo
It's about how to set up smart mining in the GUI.
-
gingeropolous
ah lemme see.
-
trevisol
maybe changing code on qml
-
» moneromooo not sure the GUI has that.
-
trevisol
startSoloMinerButton enabled:true
-
trevisol
smth like that
-
trevisol
is possible to insert arguments on daemon but daemon need address too and address is created from gui
-
gingeropolous
u on windows?
-
trevisol
linux
-
trevisol
arguments << "--bg-mining-enable";
-
gingeropolous
yeah. as moneromooo said, the GUI might not have this ability. But you could use the CLI to do this very easily
-
gingeropolous
or in settings > node, you could put it in the startup flags
-
gingeropolous
i would *hope* that those flags are saved for each time the GUI is started and stopped
-
gingeropolous
but it might now be
-
trevisol
gui has the ability but some small changes in qml code is needed
-
trevisol
im not sure what
-
gingeropolous
oh. are you looking to fix this for yourself or for everyone? :)
-
trevisol
for me and for everyone
-
gingeropolous
are you able to compile the GUI?
-
trevisol
yes
-
gingeropolous
word
-
trevisol
?
-
gingeropolous
lol. Word, as in, cool. Yay.
-
gingeropolous
1980s USA slang. sorry.
-
gingeropolous
Yeah, im sorry I don't know exactly what to do. But if I was trying to do this, I know I would just be copying and pasting a bunch of other code until i got it to work.
-
gingeropolous
so clicking the "background mining" doesn't do this?
-
gingeropolous
you effectively have to click that box and "start mining" everytime you start the GUI?
-
trevisol
yes
-
trevisol
monerod --detach --check-updates disabled --bg-mining-enable --bg-mining-ignore-battery --mining-threads 72
-
trevisol
not mining!
-
gingeropolous
i think u need --start-mining INSERT_ADDRES_HERE
-
gingeropolous
trevisol, ^
-
trevisol
address is created by gui so is unknown
-
moneromooo
trevisol: does "git grep -i smart.*min" find anything ?
-
moneromooo
(in the GUI source)
-
trevisol
-
moneromooo
Hmm. Doesn't look promising about GUI support.
-
trevisol
no hope
-
moneromooo
Should be easy to add though, since monero-wallet-cli has it.
-
trevisol
can we add as arguments ?
-
trevisol
where cli has it
-
moneromooo
The CLI wallet has a setting, which, when enabled, instructs the daemon to start smart mining to the wallet address.
-
moneromooo
The GUI would have to plug into that.
-
moneromooo
The setting is in wallet2 (which the GUI also uses).
-
trevisol
there is qml code but i dont know how to enable without clicking
-
trevisol
-
trevisol
i added "enabled: true" but didnt work
-
moneromooo
I think this enables button.
-
moneromooo
you'd need to perform the contents of onClick right at the start.
-
trevisol
walletManager.startMining(appWindow.currentWallet.address(0, 0), soloMinerThreadsLine.text, persistentSettings.allow_background_mining, persistentSettings.miningIgnoreBattery);
-
trevisol
again didnt work
-
trevisol
anyone that knows qml ?
-
trevisol
which is the setting of cli "--command" maybe?
-
trevisol
how to start gui with enabled
-
trevisol
walletManager.startMining(appWindow.currentWallet.address(0, 0), soloMinerThreadsLine.text, persistentSettings.allow_background_mining, persistentSettings.miningIgnoreBattery);
-
xmr-pr
fsrw42 opened pull request #3362: Added support for more fiat currencies.
-
xmr-pr
-
trevisol
moneromooo how to enable walletManager.startMining from the start
-
xmr-pr
fsrw42 opened pull request #3363: Renamed Norwegian translation file to the correct name.
-
xmr-pr