Skip to content
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

Extract electrum binary only if needed #619

Merged

Conversation

HenrikJannsen
Copy link
Contributor

No description provided.

Rename isOSX to isMac
Remove `.exe` at getElectrumVersion
Log time it takes for starting electrum
Resolve path for binary in constructor and make binaryPath final.
…t faster response once a file is created.

This result in about 2 second on OSX in contrast to 10 sec as without that parameter.
It is OS specific, so might get different results on diff OS.
Copy link
Contributor

@alvasw alvasw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@alvasw
Copy link
Contributor

alvasw commented Jan 1, 2023

Thank you for cleaning up the code!

@alvasw alvasw merged commit 42ff4aa into bisq-network:main Jan 1, 2023
@HenrikJannsen
Copy link
Contributor Author

Thank you for cleaning up the code!

Not much to clean ;-)... Excellent code!

@HenrikJannsen HenrikJannsen deleted the extract_electrum_binary_only_if_needed branch January 1, 2023 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants