-
Notifications
You must be signed in to change notification settings - Fork 70
feat!: use unique ports for Electrum #523
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
feat!: use unique ports for Electrum #523
Conversation
|
Why doesn't |
9d0ec20 to
cb75535
Compare
black is in |
cb75535 to
cc72c79
Compare
Because some editors (specially neovim) could conflict. When you save after format, it could edit the things you already edited. So a check is more guaranteed and if you wanna a formate |
I don't agree, most projects have commands that format the code. This behavior should be on a |
fair enough, maybe in another PR? |
|
Sure, feel free to to do it if you want. |
|
You've removed the option to run both clear/ssl at the same time. I like that feature, not sure it should be removed |
|
It does not make a lot of sense to me. What is your rationale? For me it makes sense to either not enable TLS (and use it insecurely or terminate TLS elsewhere), or enable it and always use TLS. |
|
Some wallets doesn't support TLS. I also use |
|
So you mean always serving non-TLS and optionally serving TLS? |
Yes. That's the behavior we have now. |
e28b263 to
0cb4983
Compare
0cb4983 to
7c800e6
Compare
|
@JoseSK999 addressed your reviews. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7c800e6 to
b1c6a87
Compare
053ff8b to
af5475b
Compare
|
Can you rebase now? |
…LI arguments Clean up Electrum Server section. Use `TLS` naming instead of `SSL`; SSL has been deprecated for 10 years (since the POODLE attack, in 2015), and everything uses TLS now, but the misnaming still happens a lot. Renamed `no_ssl` to `enable_electrum_tls`. Renamed `ssl_electrum_address` to `electrum_address_tls`. Renamed `ssl_key_path` to `tls_key_path`. Renamed `ssl_cert_path` to `tls_cert_path`. Renamed `gen_selfsigned_cert` to `generate_cert`: more concise.
af5475b to
1fedd11
Compare
You got it |
1fedd11 to
c58cadd
Compare
c58cadd to
af432ab
Compare
af432ab to
e2b69c4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK e2b69c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK e2b69c4
What is the purpose of this pull request?
Which crates are being modified?
Description
Closes #522.
This PR introduces the use of different ports for the Electrum Server, conditional on
bitcoin::Networkand TLS status:I also changed the naming from SSL to TLS (a big misnomer that still lingers).
Changelog
TLSnaming instead ofSSL; SSL has been deprecated for over 10 years (since the POODLE attack, in 2015), and everything uses TLS now, but the misnaming still happens a lot.ssl_electrum_address: this argument is redundant, as we don't have two Electrum servers running.ssl_key_pathtotls_key_path.ssl_cert_pathtotls_cert_path.no_ssltoenable_electrum_tls: in my opinion, the Electrum server shouldn't use TLS by default; it's more common to do TLS termination elsewhere.gen_selfsigned_certtogenerate_cert: more concise.