-
xmr-pr
bosomt opened issue #2960: QR code overlaps GUI on Trezor T display
-
xmr-pr
-
xiphon
.merges
-
xmr-pr
Merge queue empty
-
xiphon
.merge+ #2933
-
xmr-pr
...
-
xiphon
.merges
-
xmr-pr
#2933
-
xmr-pr
xiphon opened pull request #2961: cmake: downgrade minimum required boost version to 1.58
-
xmr-pr
-
xiphon
.merge+ #2959
-
xmr-pr
Added
-
xmr-pr
xiphon opened pull request #2962: cmake: fix USE_DEVICE_TREZOR option
-
xmr-pr
-
tobtoht
I noticed that DaemonManager does not trigger signals because monerod is started with startDetached().
-
tobtoht
Output logging from the daemon to the Settings -> Log page is broken.
-
tobtoht
And stateChanged is also never executed. This causes an issue where if monerod crashes during startup it takes ~2 minutes before the wallet gives up trying to connect to the daemon.
-
tobtoht
Ideally the wallet detects that monerod has crashed (by checking for exitcode != 0) and show the daemonStartFailure dialog with an error message. This can be done by connecting to the finished signal.
-
tobtoht
But, for signals to work the daemon has to be started with start() and the --detach flag removed.
-
tobtoht
That means that the daemon will stop when the wallet is exited, so the prompt that asks to keep monerod running will break.
-
tobtoht
A workaround is to stop monerod and then start it again detached when the wallet is closed.
-
tobtoht
I'm working on a patch to address all of this.
-
xiphon
Not sure this is a good way
-
xiphon
And the workaround idea doesnt' sound good to me
-
xiphon
"I'm working on a patch to address all of this." -> please consider to submit multiple separate PRs
-
tobtoht
What would be a better way?
-
tobtoht
"please consider to submit multiple separate PRs" -> Sure
-
xiphon
Regarding the daemon - i see absolutelu no reaso to start it detached
-
xiphon
Just start it always attached
-
xiphon
And the detach when necessary
-
tobtoht
So remove the functionality to keep it running on wallet close?
-
xiphon
No
-
xiphon
Just detach from it
-
tobtoht
I looked for that, QT doesn't provide an API afaik
-
tobtoht
-
tobtoht
So it appears that either we don't have output logging, detecting crashes or state changes. Or we can't keep the daemon running on exit (without a workaround).
-
tobtoht
Imo it would be very helpful to show why monerod failed to start.
-
tobtoht
Just yesterday I spent 2 hours debugging with someone to figure out why the daemon wouldn't start in their GUI.
-
tobtoht
It's hard to tell if it's a corrupted blockchain, incorrect daemon flags, AV killing the process, or as it turns out, an issue in pop_block() without output logs or error messages.
-
tobtoht
Why not instruct user to start monerod manually if they want to keep it running or apply ugly workaround?
-
xiphon
"It's hard to tell if it's a corrupted blockchain, incorrect daemon flags, AV killing the process, or as it turns out, an issue in pop_block() without output logs or error messages." -> all this should be in monerod logs
-
xiphon
except "AV killing the process"
-
xiphon
^ but "output logs or error messages" won't help you either in that case
-
tobtoht
"all this should be in monerod logs" -> The user isn't going to look for monerod logs (or even know that they exist) if they don't know that monerod crashed. Right now when monerod crashes they get nothing. It hangs for two minutes and then the status says "Disconnected". Not very helpful and not very actionable.
-
tobtoht
"but "output logs or error messages" won't help you either in that case" -> probably exits with a return code that is not 0 or 1, and the absence of an error message can give it away
-
selsta
.merges
-
xmr-pr
#2933 #2959
-
selsta
.merge+ #2937 #2947 #2950 #2961 #2962
-
xmr-pr
Added