BTCurious
|
|
November 12, 2011, 11:38:10 PM Last edit: November 15, 2011, 03:37:13 AM by BTCurious |
|
New windows binary (v2.2): (If anything isn't working, it's because I just won a drinking game) @ThomasV: If you need to reach me, you can just leave a message on here, or on IRC. I'm not very active in the weekend, but I'll see it eventually
|
|
|
|
marcus_of_augustus
Legendary
Offline
Activity: 3920
Merit: 2349
Eadem mutata resurgo
|
|
November 13, 2011, 11:30:33 AM |
|
thanks for the tip; I do not want to work on localization for the moment, but I'll keep it in mind.
Unrelated note: I wrote a http proxy server, so that electrum servers can be reached through http using port 80. (for example, you can use ecdsa.org:80 in your settings)
http is is slower than the direct socket connection, but it can be useful if you are in an environment that blocks high port numbers (for example a public wifi).
Any plans to make that a https connection to a server for added privacy possibility (man listening in the middle)? I suppose connecting to a electrum server across tor would work just as well against that anyway. PS: Nice project. I particularly like the way the deterministic seed and passphrase combination for the wallet separates the theft versus loss of keys and/or back-ups problems, clever.
|
|
|
|
bitlotto
|
|
November 13, 2011, 04:56:53 PM |
|
Is it possible to connect through TOR with it?
|
*Next Draw Feb 1* BitLotto: monthly raffle (0.25 BTC per ticket) Completely transparent and impossible to manipulate who wins. TOR TOR2WEB Donations to: 1JQdiQsjhV2uJ4Y8HFtdqteJsZhv835a8J are appreciated.
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
November 13, 2011, 09:19:27 PM |
|
I guess it would not be difficult to create an electrum-over-tor server... all you need is to forward the requests. However this is not something I will do myself, because I have no experience with Tor.
More important, I hope that we will soon have more than one single server. Electrum was designed with the idea that redundancy is good, and that clients should not rely on a single server. At some point, the client should be able to connect to several servers, and servers should be able to return a list of peers.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
BitcoinBug
|
|
November 13, 2011, 10:10:54 PM |
|
Copy address to clipboard doesn't work on windows, the following error is thrown: client\gui.py:893: GtkWarning: gdk_property_change: assertion `window != NULL' failed gtk.main() It seems there is a bug in GTK: https://bugzilla.gnome.org/show_bug.cgi?id=648931I found a workaround. Replaced: c = gtk.clipboard_get() c.set_text( address ) with this: from Tkinter import Tk r = Tk() r.withdraw() r.clipboard_clear() r.clipboard_append( address ) r.destroy() and now it works for me too!
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
November 13, 2011, 11:30:57 PM |
|
I found a workaround.
thanks a lot. your patch is in version 0.23
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
BTCurious
|
|
November 13, 2011, 11:34:32 PM Last edit: November 15, 2011, 03:37:03 AM by BTCurious |
|
Electrum 0.23 build 1 windows binary
I suppose I should upload this to a permanent location and then replace the file, so the link stays the same. Hmm..
|
|
|
|
mjcmurfy
|
|
November 13, 2011, 11:48:01 PM Last edit: November 14, 2011, 01:53:50 AM by mjcmurfy |
|
You could use github.com. I love this project. Keep up the great work ThomasV!
|
|
|
|
BTCurious
|
|
November 14, 2011, 12:07:09 AM |
|
You could use github.com. I love this project. Keep up the great work BTCurious! Hey, thank ThomasV. I'm just running a batch script every time he does something. *tries to figure out how to start a new project on github
|
|
|
|
BitcoinBug
|
|
November 14, 2011, 10:47:53 AM |
|
ThomasV helped me import a private key into Electrum, so I'm putting it down in case anyone else would like to do it. Currently it's manual, but someday there might be an option inside GUI. It would be a killer feature, something that BitcoinJ based clients are not able to do as far as I know.
Here is how it's done: - find your electrum.dat wallet file (~/.electrum/electrum.dat in linux, ~\AppData\Local\Electrum\electrum.dat in windows) - backup the file, just in case - run electrum, disable wallet encryption (at your own risk), create new address (temp address), close program - prepare your private key to import (offline key) in sipa format (starts with a '5'), together with a matching address (offline address). If your private key is not in correct format, use bitaddress.org to convert it. - open electrum.dat in text editor, find the temp address. It should be the last one in a list of addresses enclosed by []. After the list of addresses, there is a similar list of private keys, they match addresses by index. Last private key matches last address etc.. Use your text editor search/replace functionality to search for this newly generated temp address and replace all instances with your offline address. Next, replace matching temp private key with offline key. Save the file. - run electrum, your offline key should show up as any other keys, with correct balance. Encrypt and backup the wallet.
Electrum has deterministic wallet. ThomasV warned me this could mess up new address generation, which would not be deterministic anymore. I tested it and looks like there is no problem. Use at your own risk.
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
November 14, 2011, 02:57:17 PM |
|
ThomasV helped me import a private key into Electrum, so I'm putting it down in case anyone else would like to do it. Currently it's manual, but someday there might be an option inside GUI. It would be a killer feature, something that BitcoinJ based clients are not able to do as far as I know.
Here is how it's done: - find your electrum.dat wallet file (~/.electrum/electrum.dat in linux, ~\AppData\Local\Electrum\electrum.dat in windows) - backup the file, just in case - run electrum, disable wallet encryption (at your own risk), create new address (temp address), close program - prepare your private key to import (offline key) in sipa format (starts with a '5'), together with a matching address (offline address). If your private key is not in correct format, use bitaddress.org to convert it. - open electrum.dat in text editor, find the temp address. It should be the last one in a list of addresses enclosed by []. After the list of addresses, there is a similar list of private keys, they match addresses by index. Last private key matches last address etc.. Use your text editor search/replace functionality to search for this newly generated temp address and replace all instances with your offline address. Next, replace matching temp private key with offline key. Save the file. - run electrum, your offline key should show up as any other keys, with correct balance. Encrypt and backup the wallet.
Electrum has deterministic wallet. ThomasV warned me this could mess up new address generation, which would not be deterministic anymore. I tested it and looks like there is no problem. Use at your own risk.
Well, importing keys is not going to mess up new address generation, but it might interfer with the recovery from seed process. First, exogenous addresses will obviously not be recovered from the seed (ok, you knew it). Second, since the added addresses will occupy slots normally used by addresses generated by the seed, these addresses might create gaps (sequences of unused addresses) in your list of addresses. If these gaps become larger than the gap limit set in your preferences, then you cannot rely on this parameter to recover your wallet.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
Ryland R. Taylor-Almanza
Legendary
Offline
Activity: 882
Merit: 1001
|
|
November 14, 2011, 07:59:59 PM |
|
ThomasV: How hard do you think it might be for me to make a new gui for this with pyqt? Do you think it would be fairly easy to port?
|
|
|
|
.BITSLER. | ▄███ ▄████▀ ▄████▀ ▄████▀ ▄██▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▄████▄ ▄████▄ ▀████▄ █████ ██████ ██████ █████ ▀████▄ ▀████▀ ▀████▀ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄▄████▀ ▀██████▀ ▀▀▀▀ | | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ ▄▄▄▄▀▀▀▀ ▄▄█▄▄ ▀▀▄ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▀▄▄ ▀█▀▀ ▄ ▀████ ▀▀▄ █ █▄ ▀▄ ▀████ ▀▀ ▄██▄ ▀▀▄ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ ▀▀ ▀▄▄ ▀████ ▄▄▄▀▀▀ █ █ ▄ ▀▄ ▄▄▄▀▀▀ ▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ ▄▄ ███ ▀██ █ ▀▀ █ █ ███ ▀██ █ ▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▄ █ ▀▀ █ ▀▀▄ ███▄ █ ▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▄ █ ▀▀▄▄▄▀▀▀ ▄▄▄▄▄▄▄▄▄▄▄█▄▄▀▀▀▀ | | | | ▄▄▄██████▄▄▄ ▄▄████████████████▄▄ ▄██████▀▀▀▀▀▀▀▀▀▀██████▄ ▄ ▄█████▀ ▀█████▄ ██▄▄ █████▀ ▄ ▀█████ ████████ ▄██ █████ ████████▄ ███▀ ████▄ █████████▀▀ ▄███▀ █████ █▀▀▀ █████ █████ ▄▄▄ ████ █████ █████ ▀▀ ████▀ █████ █████ █████▄ ▄█████ ▀█████▄ ▄█████▀ ▀██████▄▄▄▄▄▄▄▄▄▄██████▀ ▀▀████████████████▀▀ ▀▀▀██████▀▀▀ | | | | ▄▄▄███████▄▄▄ ▄█▀▀▀ ▄▄▄▄▄▄▄ ▀▀▀█▄ █▀▀ ▄█████████████▄ ▀▀█ █▀▀ ███████████████████ ▀▀█ █▀ ███████████████████████ ▀█ █▀ ███████████████▀▀ ███████ ▀█ ▄█▀ ██████████████▀ ▀█████ ▀█▄ ███ ███████████▀▀ ▀▀██ ███ ███ ███████▀▀ ███ ███ ▀▀▀▀ ███ ▀██▄ ▄██▀ ▀█▄ ▀▀ █▄ █▄▄▄▄▄▄▄▄▄█ █▄ ▀█████████▀ ▀█▄ ▀▀▀▀▀▀▀ ▀▀█▄▄ ▄▄▄ ▀▀█████ | | | [ | | ] |
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
November 14, 2011, 08:05:45 PM |
|
ThomasV: How hard do you think it might be for me to make a new gui for this with pyqt? Do you think it would be fairly easy to port?
I'm sure it would not be difficult. I never used pyqt, but I guess it is just as easy as pygtk
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
Ryland R. Taylor-Almanza
Legendary
Offline
Activity: 882
Merit: 1001
|
|
November 15, 2011, 03:30:22 AM Last edit: November 15, 2011, 03:49:19 AM by RylandAlmanza |
|
Huge bug found. I was in #bitcoin when a newb came in asking for some BTC to play with, so I opened up electrum and sent .01 BTC to his address. It sends my entire balance. :/ Only 4.519187 BTC in that wallet, though. Luckily it wasn't my savings wallet! This was on windows 7 64bit. Edit: Should mention I was using BTCurious' latest binary. Edit: Closed out electrum and reopened, and my coins were back. Must've been a UI bug.
|
|
|
|
.BITSLER. | ▄███ ▄████▀ ▄████▀ ▄████▀ ▄██▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▄████▄ ▄████▄ ▀████▄ █████ ██████ ██████ █████ ▀████▄ ▀████▀ ▀████▀ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄▄████▀ ▀██████▀ ▀▀▀▀ | | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ ▄▄▄▄▀▀▀▀ ▄▄█▄▄ ▀▀▄ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▀▄▄ ▀█▀▀ ▄ ▀████ ▀▀▄ █ █▄ ▀▄ ▀████ ▀▀ ▄██▄ ▀▀▄ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ ▀▀ ▀▄▄ ▀████ ▄▄▄▀▀▀ █ █ ▄ ▀▄ ▄▄▄▀▀▀ ▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ ▄▄ ███ ▀██ █ ▀▀ █ █ ███ ▀██ █ ▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▄ █ ▀▀ █ ▀▀▄ ███▄ █ ▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▄ █ ▀▀▄▄▄▀▀▀ ▄▄▄▄▄▄▄▄▄▄▄█▄▄▀▀▀▀ | | | | ▄▄▄██████▄▄▄ ▄▄████████████████▄▄ ▄██████▀▀▀▀▀▀▀▀▀▀██████▄ ▄ ▄█████▀ ▀█████▄ ██▄▄ █████▀ ▄ ▀█████ ████████ ▄██ █████ ████████▄ ███▀ ████▄ █████████▀▀ ▄███▀ █████ █▀▀▀ █████ █████ ▄▄▄ ████ █████ █████ ▀▀ ████▀ █████ █████ █████▄ ▄█████ ▀█████▄ ▄█████▀ ▀██████▄▄▄▄▄▄▄▄▄▄██████▀ ▀▀████████████████▀▀ ▀▀▀██████▀▀▀ | | | | ▄▄▄███████▄▄▄ ▄█▀▀▀ ▄▄▄▄▄▄▄ ▀▀▀█▄ █▀▀ ▄█████████████▄ ▀▀█ █▀▀ ███████████████████ ▀▀█ █▀ ███████████████████████ ▀█ █▀ ███████████████▀▀ ███████ ▀█ ▄█▀ ██████████████▀ ▀█████ ▀█▄ ███ ███████████▀▀ ▀▀██ ███ ███ ███████▀▀ ███ ███ ▀▀▀▀ ███ ▀██▄ ▄██▀ ▀█▄ ▀▀ █▄ █▄▄▄▄▄▄▄▄▄█ █▄ ▀█████████▀ ▀█▄ ▀▀▀▀▀▀▀ ▀▀█▄▄ ▄▄▄ ▀▀█████ | | | [ | | ] |
|
|
|
BTCurious
|
|
November 15, 2011, 03:39:08 AM |
|
Removed all links to the windows build until more is clear about this bug. (Note that this isn't necessarily a windows bug. But it might be, so that's why I'm taking precautions.)
|
|
|
|
Ryland R. Taylor-Almanza
Legendary
Offline
Activity: 882
Merit: 1001
|
|
November 15, 2011, 03:50:11 AM |
|
Removed all links to the windows build until more is clear about this bug. (Note that this isn't necessarily a windows bug. But it might be, so that's why I'm taking precautions.)
I edited my post. It was a UI bug. Sorry to make you go through all that trouble.
|
|
|
|
.BITSLER. | ▄███ ▄████▀ ▄████▀ ▄████▀ ▄██▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▄████▄ ▄████▄ ▀████▄ █████ ██████ ██████ █████ ▀████▄ ▀████▀ ▀████▀ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄▄████▀ ▀██████▀ ▀▀▀▀ | | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ ▄▄▄▄▀▀▀▀ ▄▄█▄▄ ▀▀▄ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▀▄▄ ▀█▀▀ ▄ ▀████ ▀▀▄ █ █▄ ▀▄ ▀████ ▀▀ ▄██▄ ▀▀▄ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ ▀▀ ▀▄▄ ▀████ ▄▄▄▀▀▀ █ █ ▄ ▀▄ ▄▄▄▀▀▀ ▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ ▄▄ ███ ▀██ █ ▀▀ █ █ ███ ▀██ █ ▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▄ █ ▀▀ █ ▀▀▄ ███▄ █ ▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▄ █ ▀▀▄▄▄▀▀▀ ▄▄▄▄▄▄▄▄▄▄▄█▄▄▀▀▀▀ | | | | ▄▄▄██████▄▄▄ ▄▄████████████████▄▄ ▄██████▀▀▀▀▀▀▀▀▀▀██████▄ ▄ ▄█████▀ ▀█████▄ ██▄▄ █████▀ ▄ ▀█████ ████████ ▄██ █████ ████████▄ ███▀ ████▄ █████████▀▀ ▄███▀ █████ █▀▀▀ █████ █████ ▄▄▄ ████ █████ █████ ▀▀ ████▀ █████ █████ █████▄ ▄█████ ▀█████▄ ▄█████▀ ▀██████▄▄▄▄▄▄▄▄▄▄██████▀ ▀▀████████████████▀▀ ▀▀▀██████▀▀▀ | | | | ▄▄▄███████▄▄▄ ▄█▀▀▀ ▄▄▄▄▄▄▄ ▀▀▀█▄ █▀▀ ▄█████████████▄ ▀▀█ █▀▀ ███████████████████ ▀▀█ █▀ ███████████████████████ ▀█ █▀ ███████████████▀▀ ███████ ▀█ ▄█▀ ██████████████▀ ▀█████ ▀█▄ ███ ███████████▀▀ ▀▀██ ███ ███ ███████▀▀ ███ ███ ▀▀▀▀ ███ ▀██▄ ▄██▀ ▀█▄ ▀▀ █▄ █▄▄▄▄▄▄▄▄▄█ █▄ ▀█████████▀ ▀█▄ ▀▀▀▀▀▀▀ ▀▀█▄▄ ▄▄▄ ▀▀█████ | | | [ | | ] |
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
November 15, 2011, 07:08:17 AM |
|
Removed all links to the windows build until more is clear about this bug. (Note that this isn't necessarily a windows bug. But it might be, so that's why I'm taking precautions.)
I edited my post. It was a UI bug. Sorry to make you go through all that trouble. even if it is a UI bug, I would like to know about it. what did the UI display exactly? which version were you using?
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
November 15, 2011, 07:23:41 AM |
|
Edit: ThomasV, do you have a changelog? unfortunately, no. I do add comments to git commits, but I agree that this does not really replace a proper changelog. most of the recent commits were improvements of the communication between client and server. concerning the above mentioned bug, I could reproduce it. It is caused by the client not properly requesting information concerning its change address. I will fix it asap
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
November 15, 2011, 07:57:53 AM Last edit: November 15, 2011, 10:30:06 AM by ThomasV |
|
ok, thanks to RylandAlmanza for reporting that bug. I just released version 0.25, where it should be fixed. Changelog: * client asks for a new session after creating a change address * command-line options (will document them later)
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
|