-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Remove openssl info from init/log and from Qt debug window #7605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I think that logging SSL library used for generating random numbers is still worth it. We do not need it in the GUI though, I agree. |
|
Great to see this removed from the GUI.
Tested ACK 5ecfa36 (I am ok to keep it in the debug.log, but I don't have a strong opinion here) |
|
I also think it should be in the debug log but I do not think it serves a purpose in the Qt Information dialog. Way off topic but in my dialog, the Build date appears to be wrong, reporting 17 Feb which is before 0.12.0 was released. Wonder if that is a bug in my chroot build environment. |
Imo it's just not worth the effort to maintain. (We've had more than 3 pull request about "fixing" this in the last month). There are other trivial ways to determine the version of the library you are using
The build date for releases is the date when the last commit was commited: |
|
@MarcoFalke The sentence "There are other trivial ways to determine the version of the library you are using" unfortunately applies only to users with deep technical knowledge. Our users mix different versions of SSL libraries, at compile time and at runtime. The fixes applied to this part of our code only handle such strange instances. It is very useful to know what was used at runtime, really. |
|
Thanks @MarcoFalke so it isn't really the "build" date as I think of "build" date (compile) |
|
I like this solution. The build date should probably go away as well, it's confusing at least for the executables built in gitian, as the date/time is overridden to create deterministic executables. I don't think it adds very much in any case.
Yes, that's kind of annoying, and usually means a deeper solution is desirable. |
|
Agree with removing the build-date (in another PR), an alternative solution would be to only show the build date in non release builds ( I think we should merge this PR and remove openssl from the logs and the GUI. IMO there is not much value in logging the openssl version regarding to PRNG, and, eventually we'll end up with a custom PRNG implementation (#5885) anyways. |
|
It may actually be useful to log the version/hash of every library being used, but probably no reason to single out OpenSSL. |
|
@luke-jr Well we log BerkeleyDB version as well. But at least there's a good reason for that, to troubleshoot wallet incompatibility. |
5ecfa36 Remove openssl info from init/log and from Qt debug window (Jonas Schnelli)
Conflicts: src/init.cpp Github-Merge: bitcoin#7605 Rebased-From: 5ecfa36
Alternative solution for #7586
Removes openssl information log dump during startup as well as from the QT debug window.
Openssl is no longer consensus critical, though, it still in use for random number generation, AES encryption and BIP70 (payment protocol, GUI only).