Expose validate_domain config in electrum constructor#975
Open
newtonick wants to merge 2 commits intobitcoindevkit:masterfrom
Open
Expose validate_domain config in electrum constructor#975newtonick wants to merge 2 commits intobitcoindevkit:masterfrom
newtonick wants to merge 2 commits intobitcoindevkit:masterfrom
Conversation
ac80f9f to
25939a4
Compare
reez
approved these changes
Mar 31, 2026
Collaborator
reez
left a comment
There was a problem hiding this comment.
ACK 25939a4
Left one small doc nit inline, but its not blocking from my side.
Thanks for the contribution. I’d also like to give other maintainers a bit of time to weigh in. My expectation is that this would most likely land with the next major release, given upstream already has 3.0 RC1/RC2 published, though we can revisit that if we end up needing another 2.x release.
BTW, I mentioned your app in our #showcase channel on Discord https://discord.com/channels/753336465005608961/1042437251851882556/1483569321945989211 nice job with the app
Co-authored-by: Matthew Ramsden <6657488+reez@users.noreply.github.com>
ItoroD
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
I have an iOS wallet that uses Electrum and I would like to support self signed TLS certs. By exposing the validate_domain parameter this would allow the user to disabled all certificates verification.
I made this change locally and tested with my iOS wallet without any issues. Here is a screenshot of what I represent this validate_domain config to an end user in the app:
I don't believe adding this additional defaulted parameter would be a breaking change.
Notes to the reviewers
I believe this change is straight forward, but this is my first PR to BDK. Not sure if I'm missing anything that a contributor would be expected to provide. Not sure what kind of unit testing would be needed. Open to guidance.
Documentation
bdk_walletbitcoinuniffiChecklists
All Submissions:
cargo fmtandcargo clippybefore committingNew Features:
Bugfixes: