Bitcoin Forum

Bitcoin => Electrum => Topic started by: Coding Enthusiast on August 17, 2016, 04:56:54 PM



Title: [still open] blockchain headers stopped at 400043, no longer downloading
Post by: Coding Enthusiast on August 17, 2016, 04:56:54 PM
just installed Electrum 2.6.4 on windows 7- 64bit
blockchain_headers was downloaded and the file size is now 30.5 MB and Electrum shows 400043 as the number of blocks downloaded.

https://i.imgur.com/IZKhMMJ.jpg

i waited, changed servers manually, restarted Electrum but nothing works so far.
and the network circle at the bottom right is green.

is_synchronized() functions also returns true!


Title: Re: blockchain headers stopped at 400043, no longer downloading
Post by: Coding Enthusiast on August 25, 2016, 01:09:55 PM
i still have this problem and i still can't figure out why this is happening.
going through the history i believe i did not have this problem with the old version of Electrum that i had and it was before this commit (https://github.com/spesmilo/electrum/commit/f307b18546c2fddb7f0ae8c817fe0a65890a9133)

i am not an expert in coding and i am less useful in python but i believe that there may be a bug in checking the blockchain height and i cannot figure out how it is done after this change.
before it was here (https://github.com/spesmilo/electrum/commit/f307b18546c2fddb7f0ae8c817fe0a65890a9133#diff-814622633fc9856ed860ecc6f9ef1bfaL57) but i cannot find it in the network.py after the change.


Title: Re: blockchain headers stopped at 400043, no longer downloading
Post by: mocacinno on August 25, 2016, 01:16:53 PM
The screenshot shows you're connected to us5.einfachmalnettsein.de port 50002 via SSL, when i try this server/port i simple cannot connect...
I'm currently connected to ELECTRUM.jdubya.info port 50002 using SSL and it works perfectly

This being said, i'm not an expert, but i assume you already checked the diskspace, restarted, doublechecked the version, tryd with an admin-account,... ?


Title: Re: blockchain headers stopped at 400043, no longer downloading
Post by: Coding Enthusiast on August 25, 2016, 01:27:50 PM
The screenshot shows you're connected to us5.einfachmalnettsein.de port 50002 via SSL, when i try this server/port i simple cannot connect...
I'm currently connected to ELECTRUM.jdubya.info port 50002 using SSL and it works perfectly

lol, i don't even see it today anymore there is a "us1.einfachmalnettsein.de" though and it connects.
anyways as i said below the screenshot, i tested many other servers, and electrum automatically checks different servers if the checkbox is selected anyways... nothing worked.

Quote
This being said, i'm not an expert, but i assume you already checked the diskspace, restarted, doublechecked the version, tryd with an admin-account,... ?

yes, yes, yes, and yes to all :D

and just to emphasize on it the blockchain headers that i have got is this file (https://github.com/spesmilo/electrum/blob/master/lib/blockchain.py#L39) which is downloaded from Electrum.org website here (https://github.com/spesmilo/electrum/blob/master/lib/blockchain.py#L115) but then it should check for update from Electrum servers which it does not.

###or at least this is my understanding from the code :D


Title: Re: [still open] blockchain headers stopped at 400043, no longer downloading
Post by: Coding Enthusiast on September 12, 2016, 03:10:40 PM
bump and update:
the issue still exists.
i have downgraded Electrum to 2.5.4, then down to 2.3.2 and then down to 2.2

each time removing everything including the blockchain_headers file and the download is always gets stuck at the same place (400043).
i also left the Electrum running for a couple of hours and checking my firewall it has downloaded about 70 MB but the headers were not updated.

then i downgrade to 2.0.2 and the problem was solved. i now have the latest block headers up do recent block height 429480

i have now upgraded back to latest version 2.6.4 and will wait a while until new blocks are mined then run Electrum to see if it can update now.

update:
it is now updating but still update from scratch on newer versions doesn't work!