Bitcoin Forum
December 11, 2016, 02:31:48 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 [57] 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 »
  Print  
Author Topic: [ANNOUNCE] Electrum - Lightweight Bitcoin Client  (Read 243529 times)
flatfly
Hero Member
*****
Offline Offline

Activity: 938


View Profile
October 28, 2012, 10:27:17 AM
 #1121

Hi Thomas, congrats on the new release!

Just thought I should mention that I get the below error upon starting electrum.

Code:
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.


Quote
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.


I have just updated my client from Github and tried to re-download the headers
from scratch, and no longer encounter any issues! Smiley 

Thanks

1111127SpvabYpoeDoiz5L7QPkfiSh2Q. Only donate if you have a reason to.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481423508
Hero Member
*
Offline Offline

Posts: 1481423508

View Profile Personal Message (Offline)

Ignore
1481423508
Reply with quote  #2

1481423508
Report to moderator
flatfly
Hero Member
*****
Offline Offline

Activity: 938


View Profile
October 28, 2012, 11:44:05 AM
 #1122

Unrelated to SPV - Does anyone also notice the below issue?

it seems that when I connect to ecdsa.org, the list of available servers I see in the Server dialog is different than if I connect to uncle-enzo (for instance):





[EDIT] Just a wild guess: Could it be due to ecdsa.org failing to join the #electrum channel?

1111127SpvabYpoeDoiz5L7QPkfiSh2Q. Only donate if you have a reason to.
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
October 28, 2012, 08:37:28 PM
 #1123

[EDIT] Just a wild guess: Could it be due to ecdsa.org failing to join the #electrum channel?
indeed that's the reason.
if the client does cannot get the list from irc, it falls back to a hardcoded list of nodes.

Electrum: the convenience of a web wallet, without the risks
flatfly
Hero Member
*****
Offline Offline

Activity: 938


View Profile
October 28, 2012, 09:36:15 PM
 #1124

Seems that I'm getting an error whenever I make a transaction.
(The tx goes through anyway)

Example:

Code:
Sending change to 1Pea...
verify header: 000000000000032ed6a16300830b731f07ff09095559278bff988ea692db8957
205457
received error: {u'id': 26, u'error': u'not in a block: 734415a09e1663f55f01e501
a5a4839a7154c3fcb2c4e782044846dd6db92c60'}

1111127SpvabYpoeDoiz5L7QPkfiSh2Q. Only donate if you have a reason to.
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
October 29, 2012, 08:35:09 AM
 #1125

Seems that I'm getting an error whenever I make a transaction.
(The tx goes through anyway)

oh right, that's a small bug.
I just fixed it, try the latest git code.

Electrum: the convenience of a web wallet, without the risks
flatfly
Hero Member
*****
Offline Offline

Activity: 938


View Profile
October 29, 2012, 07:09:13 PM
 #1126

Seems that I'm getting an error whenever I make a transaction.
(The tx goes through anyway)

oh right, that's a small bug.
I just fixed it, try the latest git code.


Thanks, I confirm I've got no more errors now Smiley
So expect the first SPV-enabled build for Windows soon...

1111127SpvabYpoeDoiz5L7QPkfiSh2Q. Only donate if you have a reason to.
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
November 02, 2012, 09:04:43 AM
 #1127

Someone showed me that my current SPV implementation (in version 1.2) has a bug, and that it needs to be updated; the client needs to download its transactions in serialized form in order to ensure they have the correct hash.
I will try to do this soon, but it might take some time, because it requires a modification in the protocol.

Electrum: the convenience of a web wallet, without the risks
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
November 04, 2012, 11:04:59 AM
 #1128

Someone showed me that my current SPV implementation (in version 1.2) has a bug, and that it needs to be updated; the client needs to download its transactions in serialized form in order to ensure they have the correct hash.
I will try to do this soon, but it might take some time, because it requires a modification in the protocol.

This bug is fixed in the github repo.
The fix comes along a protocol change, that will also fix the infamous "cannot spend coins" bug

I will try to release version 1.3 tomorrow (the 1-year anniversary of Electrum!).
Note that since the protocol has changed, new clients will only be able to connect to upgraded servers.

Electrum: the convenience of a web wallet, without the risks
flatfly
Hero Member
*****
Offline Offline

Activity: 938


View Profile
November 04, 2012, 01:36:12 PM
 #1129

Someone showed me that my current SPV implementation (in version 1.2) has a bug, and that it needs to be updated; the client needs to download its transactions in serialized form in order to ensure they have the correct hash.
I will try to do this soon, but it might take some time, because it requires a modification in the protocol.

This bug is fixed in the github repo.
The fix comes along a protocol change, that will also fix the infamous "cannot spend coins" bug

I will try to release version 1.3 tomorrow (the 1-year anniversary of Electrum!).
Note that since the protocol has changed, new clients will only be able to connect to upgraded servers.


I'm getting this error at startup when trying the latest github code:

Code:
Sun 11/04/2012 14:26:41.29> electrum
Exception in thread Thread-2:
Traceback (most recent call last):
  File "\Electrum_SysFiles\1.3\C_\Python27\lib\threading.py", line 551, in __bootstrap_inner
    self.run()
  File "\Electrum_SysFiles\1.3\C_\ElectrumPY\lib\wallet.py", line 947, in run
    if self.wallet.get_status(addr) != result:
  File "\Electrum_SysFiles\1.3\C_\ElectrumPY\lib\wallet.py", line 534, in get_status
    for tx_hash, height in h:
ValueError: too many values to unpack

1111127SpvabYpoeDoiz5L7QPkfiSh2Q. Only donate if you have a reason to.
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
November 04, 2012, 02:49:04 PM
 #1130

I'm getting this error at startup when trying the latest github code: [...]

thanks for testing! try now, I fixed that

Electrum: the convenience of a web wallet, without the risks
flatfly
Hero Member
*****
Offline Offline

Activity: 938


View Profile
November 04, 2012, 04:00:03 PM
 #1131

I'm getting this error at startup when trying the latest github code: [...]

thanks for testing! try now, I fixed that

No problem...
Now I'm getting another error every few seconds. (This is with my existing wallet, while downloading/verifying the headers):

Code:
Sun 11/04/2012 15:59:47.78> electrum
Traceback (most recent call last):
  File "\Electrum_SysFiles\1.3\C_\ElectrumPY\lib\gui_qt.py", line 284, in update_wallet
    c, u = self.wallet.get_balance()
  File "\Electrum_SysFiles\1.3\C_\ElectrumPY\lib\wallet.py", line 425, in get_balance
    c, u = self.get_addr_balance(addr)
  File "\Electrum_SysFiles\1.3\C_\ElectrumPY\lib\wallet.py", line 415, in get_addr_balance
    v = self.get_tx_value(tx_hash, [addr])
  File "\Electrum_SysFiles\1.3\C_\ElectrumPY\lib\wallet.py", line 383, in get_tx_value
    value = self.prevout_values[ key ]
KeyError: '066fac23731c2f0384f3ad97c74e71e53758c3d37b6a9d12af5f39108e5f000b:1'



1111127SpvabYpoeDoiz5L7QPkfiSh2Q. Only donate if you have a reason to.
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
November 04, 2012, 04:18:57 PM
 #1132

No problem...
Now I'm getting another error every few seconds. (This is with my existing wallet, while downloading/verifying the headers):

I was not able to reproduce it, but I fixed a possible race condition that could have caused it.
please let me know if it is fixed

Electrum: the convenience of a web wallet, without the risks
flatfly
Hero Member
*****
Offline Offline

Activity: 938


View Profile
November 04, 2012, 04:40:48 PM
 #1133

No problem...
Now I'm getting another error every few seconds. (This is with my existing wallet, while downloading/verifying the headers):

I was not able to reproduce it, but I fixed a possible race condition that could have caused it.
please let me know if it is fixed

yes this has fixed it! Well done.

However, the client successfully downloads the headers but I still don't see any transactions on the history tab (and it's stuck on 'synchronizing').

When verbose mode on, it lists a bunch of missing transactions, but then I don't see
any further network activity...

I have to go now but might be back online later tonight (not sure yet).

1111127SpvabYpoeDoiz5L7QPkfiSh2Q. Only donate if you have a reason to.
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
November 06, 2012, 08:17:15 AM
 #1134

Hi,

I did not release version 1.3 yesterday as planned, because it needs a bit more testing (several bugs were fixed yesterday), and also because I would like to wait until a few more servers have upgraded to protocol version 0.5.
(this is a major protocol change and 1.3 clients cannot use old servers; if you use the recent git version you will notice that the client does not even report the old servers).

In the meantime, many thanks to all the people who have been testing the git version. please keep reporting bugs!




Electrum: the convenience of a web wallet, without the risks
flatfly
Hero Member
*****
Offline Offline

Activity: 938


View Profile
November 06, 2012, 10:20:49 PM
 #1135

Good to see release 1.3 being right around the corner Smiley

A minor thing:

It seems the below option no longer works (electrum still seems to download & check the headers):

Code:
electrum set disable_spv True

(Using the latest github master code)



1111127SpvabYpoeDoiz5L7QPkfiSh2Q. Only donate if you have a reason to.
bitcats
Legendary
*
Offline Offline

Activity: 1008



View Profile
November 07, 2012, 10:27:07 AM
 #1136

this is a major protocol change and 1.3 clients cannot use old servers; if you use the recent git version you will notice that the client does not even report the old servers).
What about the "old" servers? Can we still use the old clients?

"Unser Problem ist nicht ziviler Ungehorsam, unser Problem ist ziviler Gehorsam."  - Howard Zinn
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938



View Profile WWW
November 07, 2012, 10:49:20 AM
 #1137

this is a major protocol change and 1.3 clients cannot use old servers; if you use the recent git version you will notice that the client does not even report the old servers).
What about the "old" servers? Can we still use the old clients?

Old clients can use new and old servers as far as I am aware.

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
November 08, 2012, 02:50:30 PM
 #1138

Electrum 1.3 is officially released!

Changelog:
 * New client-server protocol, the client downloads raw transactions and deserializes them.
 * Simple Payments Verification (SPV) is now fixed. (the previous version had a vulnerability, reported by mhanne)
 * A file containing the blockchain headers is included in the package.
 * A new 'text-mode' user interface is available. It does not have as many features as the other GUIs, but it works and can be used if you don't have a graphical environment.

Electrum: the convenience of a web wallet, without the risks
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
November 08, 2012, 02:55:50 PM
 #1139

here is a screenshot of the text mode UI:


http://electrum.ecdsa.org/electrum_text_mode.png

Electrum: the convenience of a web wallet, without the risks
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
November 08, 2012, 03:09:29 PM
 #1140

It seems the below option no longer works (electrum still seems to download & check the headers):

indeed, I had to remove that option, because Electrum now uses block headers to get the timestamps of transactions.

Electrum: the convenience of a web wallet, without the risks
Pages: « 1 ... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 [57] 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!