Tuxavant
|
|
October 20, 2012, 02:42:16 AM |
|
What's the dillio with electrum-desktop.com?
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
October 20, 2012, 05:29:44 AM |
|
What's the dillio with electrum-desktop.com?
I don't know. That site is controlled by genjix, and he has been inactive and unreachable for over a month...
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
slush
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
October 20, 2012, 09:34:51 PM |
|
Today I updated Electrum server on electrum.bitcoin.cz to latest version. All users are welcome to use SSL transports available on port 50002 (TCP+SSL) and 8082 (HTTPS)!
|
|
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
October 22, 2012, 12:10:51 PM |
|
I just merged my SPV branch with the master branch of the repo. This contains an almost complete rewrite of the interface code.
The interface is now autonomous and separate from the WalletSynchronizer thread. SPV is performed in a new thread called WalletVerifier.
For the moment SPV does not check difficulty, and its results are not saved to disk, which is a bit inefficient, but these issues will be resolved soon.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
flatfly
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
October 22, 2012, 02:42:20 PM |
|
I just merged my SPV branch with the master branch of the repo. This contains an almost complete rewrite of the interface code.
The interface is now autonomous and separate from the WalletSynchronizer thread. SPV is performed in a new thread called WalletVerifier.
For the moment SPV does not check difficulty, and its results are not saved to disk, which is a bit inefficient, but these issues will be resolved soon.
That's excellent news. I didn't expect to see functional SPV code so fast Great job!
|
|
|
|
flatfly
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
October 22, 2012, 07:36:43 PM |
|
Just gave it a try... I'm getting the below error, as soon as the GUI shows up (using the latest master code): Traceback (most recent call last): File "1.1\C_\Python27\lib\threading.py", line 551, in __bootstrap_inner self.run() File "1.1\C_\ElectrumPY\lib\wallet.py", line 1002, in run self.validate_header(result) File "1.1\C_\ElectrumPY\lib\wallet.py", line 1042, in validate_header assert header.get('merkle_root') == merkle_root AssertionError [edit:] that was connecting to uncle-enzo. If I connect to ecdsa.org, the GUI remains stuck on "Connecting..." and the following message eventually appears on the console: received unexpected notification blockchain.numblocks.subscribe [204503] timeout
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
October 22, 2012, 07:54:33 PM |
|
Just gave it a try... I'm getting the below error, as soon as the GUI shows up (using the latest master code): Traceback (most recent call last): File "1.1\C_\Python27\lib\threading.py", line 551, in __bootstrap_inner self.run() File "1.1\C_\ElectrumPY\lib\wallet.py", line 1002, in run self.validate_header(result) File "1.1\C_\ElectrumPY\lib\wallet.py", line 1042, in validate_header assert header.get('merkle_root') == merkle_root AssertionError [edit:] that was connecting to uncle-enzo. If I connect to ecdsa.org, the GUI remains stuck on "Connecting..." and the following message eventually appears on the console: received unexpected notification blockchain.numblocks.subscribe [204503] timeout yes, in normal time the first error will mean that the server is trying to screw you, but since I made a mistake in the first version of the server rpc that returns the merkle path of a transaction, I guess the reason is more likely to be that the server hasn't updated yet. the second error is not important, it was caused because you switched servers within your session.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
flatfly
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
October 23, 2012, 05:17:06 PM |
|
Thanks for the explanations.
Today I have updated to the latest master, and no longer have the blockchain.subscribe error message, but I do get "timeout" messages every 2 minutes or so while connected to ecdsa.org. I guess these are coming from the SPV thread? Can they be ignored? The connection does seem to be stable.
I couldn't do much more testing (no BTC to play around with, currently).
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
October 23, 2012, 05:25:29 PM |
|
Thanks for the explanations.
Today I have updated to the latest master, and no longer have the blockchain.subscribe error message
yes, there was a bug there I fixed it this morning but I do get "timeout" messages every 2 minutes or so while connected to ecdsa.org. I guess these are coming from the SPV thread? Can they be ignored? The connection does seem to be stable.
I couldn't do much more testing (no BTC to play around with, currently).
No, the "timeout" thing is a debugging message from the interface. I will not include it in the final release. As I mentioned earlier I did an almost complete rewrite of the interface, so that it can be queried by concurrent threads. This was needed in order to add SPV, because SPV is one of those thread; the other thread interacting with the interface is the wallet synchronizer.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
adamstgBit
Legendary
Offline
Activity: 1904
Merit: 1037
Trusted Bitcoiner
|
|
October 24, 2012, 09:22:09 PM |
|
what devices can run Electrum?
what is a good solution for a cheep Electrum device?
|
|
|
|
marcus_of_augustus
Legendary
Offline
Activity: 3920
Merit: 2349
Eadem mutata resurgo
|
|
October 24, 2012, 11:41:17 PM |
|
what devices can run Electrum?
what is a good solution for a cheep Electrum device?
Good question ... what's the smallest device known for running Electrum client? Seems like anything that squeeze a minimal python stack PyQT could do it?
|
|
|
|
flatfly
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
October 25, 2012, 06:13:19 PM |
|
what devices can run Electrum?
what is a good solution for a cheep Electrum device?
Good question ... what's the smallest device known for running Electrum client? Seems like anything that squeeze a minimal python stack PyQT could do it? You don't even necessarily need PyQT, if you want the absolute smallest footprint (such as for a portable device). I once made a fully functional console-mode Windows build, with the full Python runtime dependencies embedded, that fits in a mere 2MB. You can also check out the very nice Android and Javascript implementations of Electrum (sorry, don't have the links at hand.)
|
|
|
|
minimalB
Donator
Hero Member
Offline
Activity: 674
Merit: 523
|
|
October 25, 2012, 10:25:49 PM |
|
Hello,
This happened several times to me recently:
Transactions get processed normally, but i'm getting "transaction rejected by network" message.
Classic mode, latest windows version, standard 0.001 fee paid. Server used: electrum.bytesized-hosting.com (TCP)
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
October 26, 2012, 02:07:51 PM Last edit: October 26, 2012, 05:22:08 PM by ThomasV |
|
Hello,
This happened several times to me recently:
Transactions get processed normally, but i'm getting "transaction rejected by network" message.
Classic mode, latest windows version, standard 0.001 fee paid. Server used: electrum.bytesized-hosting.com (TCP)
It might be another instance of the the "cannot spent coins" bug it is a server bug, caused by reorgs, that results in wrong histories being sent. to fix it, use another server AND regenerate your wallet at that server. Edit: if you use the latest git code, you can do:
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
October 28, 2012, 08:36:55 AM |
|
I just released version 1.2 of Electrum. This version includes Simple Payment Verification (SPV). The SPV module will download blockchain headers (16Mb) and check your transactions, as described in Satoshi's original paper. This will prevent a malicious server from showing you fake transactions; only verified transactions have confirmation icons. (note: a malicious server could still hide some of your transactions to you, but that has much less potential for abuse) Please note that the SPV module will only work if you connect to a server that runs recent code. Please also note that this module is new and has not been extensively tested yet. However, since it operates in an independent thread, it is not capable of crashing the rest of the client, so I am adding it to the release. If it goes wrong, you may disable it using the following command: electrum set disable_spv True
Other new feature: Two new commands, 'set' and 'get', allow you to read/write configuration options from the command line. For example, to display your master public key, type: electrum get master_public_key
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
flatfly
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
October 28, 2012, 08:54:38 AM |
|
Hi Thomas, congrats on the new release! Just thought I should mention that I get the below error upon starting electrum. type error, using default value [edit] this error only appears the very first time (when the blockchain_headers file doesn't exist yet) Then the header validation appears to proceed normally. The whole download + validation process only took 7 minutes in total, great! Also, the GUI appears to be hanging during that this initial header validation process - perhaps a little progress dialog or status message would be more user-friendly (as most Windows users never use the console)
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
October 28, 2012, 09:12:00 AM |
|
Hi Thomas, congrats on the new release! Just thought I should mention that I get the below error upon starting electrum. type error, using default value [edit] this error only appears the very first time (when the blockchain_headers file doesn't exist yet) I don't think it is related. maybe you used an intermediate (github) version, and I changed the type of a variable you saved. Also, the GUI appears to be hanging during that this initial header validation process - perhaps a little progress dialog or status message would be more user-friendly (as most Windows users never use the console)
if you have lots of transactions, it might hang the gui for a few seconds, because it will redraw the history everytime a transaction is validated. however, the gui should not be slowed down during the headers download & validation phase.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
|