ManojNimbalkar / bitcoin-wallet

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

If battery is low, outgoing transactions get discarded without warning #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Let the battery of the Android device run low
2. Send some bitcoins
3. The Send button grays out and turns to Sent
4. The transaction is not created

What is the expected output? What do you see instead?

I'd expect the transaction to get created, and even broadcast while the device 
is low on battery.

What version of Bitcoin Wallet are you using? On what Android version and what 
phone? Don't just state 'most recent', this is not enough info.

HTC Desire
ARMv7 Processor rev 2 (v7l)
Baseband 32.49.00.32U_5.11.05.27
Android 2.3.7
CyanogenMod-7.1.0-Desire
Kernel 2.6.37.6-cyanogenmod-geb50077 android@portatile #1

If you have problems with particular transactions, what is your Bitcoin 
address? If you happen to have transaction IDs, please state them as well.

Transactions did not get through.

Please provide any additional information below.

Nothing more to say.

Thank you!

Original issue reported on code.google.com by r...@xeno-genesis.com on 29 Nov 2011 at 8:25

GoogleCodeExporter commented 9 years ago
I'd say this is due to the fact that you had no peers connected when you 
pressed 'send'. I don't think it has got anything to do with low battery. Can 
you check again if this works with peers connected?

If battery is low, only the blockchain downloading should stall (so your 
battery is not drained even further). However, this should be independant of 
sending transactions to the network.

Original comment by andreas....@gmail.com on 9 Dec 2011 at 12:17

GoogleCodeExporter commented 9 years ago
I can comfirm this issue. I don't think that it is related to low battery. 
My device is:
Samsung Galaxy Nexus(Android 4.0.2).
I'm using Bitcoin Wallet 1.48.

I have tried to send some bitcoins from my phone to PC yesterday. Transaction 
is still listed in my phone as "waiting for confirmation" and sended bitcoins 
are not shown in wallet's amount but http://blockexplorer.com/ doesn't see this 
transaction with my bitcoin address at all. So these bitcoins are still in my 
phone but I can't send or see them.

I see "Reset Blockchain/Transactions" option in "About" activity. Can it solve 
this problem?

Original comment by romeo.or...@gmail.com on 1 Jan 2012 at 12:11

GoogleCodeExporter commented 9 years ago
This issue should be fixed with version 1.52+

Outgoing transaction are now saved to your wallet at all times. And they will 
be re-sent to connecting peers until they are confirmed.

If the problem happens again, feel free to add to this ticket and I'll re-open 
it.

Original comment by andreas....@gmail.com on 2 Mar 2012 at 1:30