-
Notifications
You must be signed in to change notification settings - Fork 24
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
Binary encoding #337
Binary encoding #337
Conversation
It looks like this contains a copy of #338 . Is that because there would be merge conflicts otherwise? |
I'd prefer not to commit compiled form files into Git; those files are already generated at build time, which is preferred by the Debian guys. |
Alright! I'm not sure why it has a copy of #338. I will check this out |
Fixed the two issues |
It looks like you're using |
Switched to the encoding/decoding functions in |
381c5de
to
1c6c406
Compare
This looks pretty good so far. Initial feedback:
Keep it up! :) |
@@ -3360,9 +3363,24 @@ def update_buy_names_preview(self): | |||
identifier = self.buy_names_new_name_lineedit.text().encode('ascii') |
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.
I think we can use the hex textbox instead here?
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.
I am presently updating the hex text box using this line (HERE)
Is it essential to set the hex text box and then retrieve its content again to update the name preview?
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.
Alternatively, I can implement a separate function to read the ASCII text_box (For the Hex text_box) then name_preview to read from the hex text_box. But I think the current implementationis preferable.
I tried typing hex that was invalid ASCII (e.g. |
A helper function might be helpful to handle the state of buttons and labels?
|
Is the idea to reuse that helper function across the Buy Names page, the Configure Name page, etc.? If so, yeah I think that's reasonable. |
1197eb4
to
0cdf435
Compare
Typing a string that doesn't end in |
As discussed, no further changes are needed, but can you squash the commits, and then remove |
af77b1a
to
aea6368
Compare
Support binary encoding of names in Electrum-NMC GUI (exposed as hex in GUI)
d665d5f
to
32af8d8
Compare
ACK 32af8d8 |
No description provided.