ManojNimbalkar / bitcoin-wallet

Automatically exported from code.google.com/p/bitcoin-wallet
0 stars 0 forks source link

Cannot update the blockchain #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there,

my problem is quite personnel, it might not be the right place to put it.  
Anyway.

I downloaded the software and but it on my cellphone two days ago.  Even if I 
am connected to my wifi network the blockchain is 21 week old.  This is weird 
because, there are around 5 people connected to me (never more that 6) all the 
time.

I tried to add a "trusted peer".  I did not find any documentation on what 
should go in this field.  So I entered the ip of my home computer that is 
running bitcoin and it changed nothing (even after restarting my cellphone).

Moreover, I transferred 3 bitcoins from my mt.gox account to my cellphone 
account.  There is nothing that tells you to wait before doing a transaction.  
I do not see anymore the money in the mt.gox account.  I assume (hoping) the 
money is in my cellphone?  Is there any easy way to transfer my private key 
from my cell phone to my computer?

Cheers

Didier

Original issue reported on code.google.com by didier.a...@gmail.com on 23 Feb 2012 at 7:48

GoogleCodeExporter commented 9 years ago
First of all, what Version are you using? If it is older than 1.48.2, this is a 
known issue. Upgrading should fix it.

Currently there is no key export. But don't be afraid, your 3 BTC should appear 
on your phone as soon as the block chain is up to date.

Original comment by andreas....@gmail.com on 23 Feb 2012 at 10:19

GoogleCodeExporter commented 9 years ago
Hi Andreas, I am using bitcoin wallet version 1.48.2 on a android 2.3.5.  
Yesterday night, I reset the blockchain and let my cell turned on during the 
entire night.  The blockchain passed from 32 weeks to 30 weeks behind.

I have downloaded a system monitor and I see that the bicoin wallet is working. 
 It uses 90% of the cpu, 29 threads, 6 peers connected.

In my log files, there are plenty of DEBUG information like "GC_CONCURRENT 
freed 1460k, 36% free 7111K/11079K" external 412K/908K, paused 6ms+10ms" and 3 
WARNING that shows messages like...

* 40115072[PeerGroup-1-thread-5] WARN com.google.bitcoin.core.BlockChain does 
not connect: 00000000000000533303ae0ef3143ee9eb9b9d0035b7192c73e1da0041df1b9f

or

* ERROR com.google.bitcoin.core.
  TransactionOutput - Could not parse tx output script: com.google.bitcoin.core.
  ScriptException: Script not of right size to be a scriptPubKey, expecting 5 but got 3

What is the "trusted peer" field?  I have a computer on my local network with 
an up to date blockchain.  Is there a way to use "trusted peer" to transfer the 
blockchain?

As I am myself a developer (Python, Java...), do not be shy to ask me more 
info.  If you need help on the project, I could even help!

Cheers!

Didier

Original comment by didier.a...@gmail.com on 24 Feb 2012 at 9:42

GoogleCodeExporter commented 9 years ago
Ok, your BlockChain does not connect problem is likely be fixed in version 
1.52. I will release this version on Monday, but if you want you can install 
and test it even now:

code.google.com/p/bitcoin-wallet/downloads/detail?name=bitcoin-wallet-1.52.apk

The "ScriptException: Script not of right size" are normal, this is something 
that will be implemented in BitCoinJ later but does not do any harm either.

Let me know if 1.52 helps in your case.

Original comment by andreas....@gmail.com on 24 Feb 2012 at 3:16

GoogleCodeExporter commented 9 years ago
I just updated the software and reinitialized the blockchain.  I cannot tell 
you yet if it works but the log seams "clean".

The message at the bottom switch between "blockchain stalled, 'n' week behind" 
and "blockchain downloading, 'n' week behind".  Unfortunately, it is more 
stalled than downloading.

will tell you if it works

Original comment by didier.a...@gmail.com on 24 Feb 2012 at 4:38

GoogleCodeExporter commented 9 years ago
It would be interesting to know why your download is so slow. It is not normal 
to see more stalled than downloading.

What kind of internet connection do you have? Is it usually fast and responsive?

Original comment by andreas....@gmail.com on 25 Feb 2012 at 8:09

GoogleCodeExporter commented 9 years ago
after a night of synchronizing, I am still 29 weeks behind.  My internet 
connection is not super fast (according to a web test, 3.83Mb/s of download and 
0.218Mb/s of upload) but should be good enough.

I have 2 log files for you.  The first I saved yesterday night, the other, this 
morning.  If it can help.

Original comment by didier.a...@gmail.com on 25 Feb 2012 at 10:16

Attachments:

GoogleCodeExporter commented 9 years ago
Hi there,

Same problem for me with version 1.52.

Regards

Original comment by stenio.b...@gmail.com on 29 Feb 2012 at 1:59

GoogleCodeExporter commented 9 years ago
Hi there,

on my device it works now.

I think the problem comes from battery load balancer. Here what you can try 
tonight before going to bed.

1. full your cell phone (at 100%.  It is important)
2. start bit coins wallet and keep your cell plugged in.
3. wait the entire night to see if your bit coin wallet update.
4. write on this post if it did the job.

Cheers

Original comment by didier.a...@gmail.com on 29 Feb 2012 at 2:10

GoogleCodeExporter commented 9 years ago
@didier:

Yes your connection should be more than fast enough. The problem could be 
related to the "Block does not connect" log messages. This happens from time to 
time, but if your log only shows these messages (and no "INFO 
com.google.bitcoin.core.BlockChain - xx blocks per second" inbetween), 
something is wrong. Can you check again?

Bitcoin Wallet does not sync the block chain if your battery is low (< 10%). In 
this case it will _not_ just say "stalled" or "downloading", but state 
something like "not downloading due to low battery" so this should be obvious. 
No need for 100% battery, but being hooked to a charger helps for large syncs.

Original comment by andreas....@gmail.com on 29 Feb 2012 at 2:43

GoogleCodeExporter commented 9 years ago
Hi,

In my case the problem started after the upgrade to ICS.

Hope this helps.

Regards

Original comment by stenio.b...@gmail.com on 1 Mar 2012 at 6:42

GoogleCodeExporter commented 9 years ago
Can you upgrade to version 2.41 and see if that fixes your issue?

Original comment by andreas....@gmail.com on 24 Feb 2013 at 11:31

GoogleCodeExporter commented 9 years ago
Blockchain download problems should generally be fixed now that bloom filtering 
is active. If you still experience problems, please open individual tickets.

Original comment by andreas....@gmail.com on 3 Apr 2013 at 9:55