ManojNimbalkar / bitcoin-wallet

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

Newly mined coins don't show up in wallet #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start mining bitcoin with Eligius, using your bitcoin-wallet address for 
payment.
2. Wait a long, long, long time.
3. Watch the transactions appear on blockchain.info, and be confirmed.
4. Watch as the transactions do not appear in your wallet, even after hundreds 
of confirmations.

What is the expected output? What do you see instead?
The coins that were sent to me should be in my wallet and reflected in my 
balance.  They're not there.

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.
v2.00 on my HTC Evo Shift (USA-Sprint) running CM7

If you have problems with particular transactions, what is your Bitcoin 
address? If you happen to have transaction IDs, please state them as well.
Receiving address is 1FZxJfUvyuTEsu99Rb8iRSTuP68k91j4gq
Two transactions that do not show up (both newly mined coins) are 
017ef15a16561d99acc278bcb473a565ca62d89eaaa92b3311f5e81ecf89f8a0 and 
de2b935301abd2a38bfdeee769b3a858b553940f96f1843bdfb1f31274ef6ba7.  A 
transaction that shows up as expected would be 
7aa9248c59b04d98f8bf8e3b33573b5587c99f0cc4d6f6710bb3ef8549b8a66a.

Please provide any additional information below.
Initially, when the first mining transaction hit, it basically crashed the 
client: it would only load in landscape mode with the keyboard slid open.  It 
would immediately FC if you closed the keyboard or started the app with the 
keyboard closed.  I think it was having problems displaying the mined 
transaction.  I reset the blockchain (how on earth do you close the app without 
a reboot anyways?) and now it doesn't FC but I don't have my mined coins either.

Original issue reported on code.google.com by danbowk...@gmail.com on 23 Mar 2012 at 10:08

GoogleCodeExporter commented 9 years ago
Thanks for reporting.

It would help if I could get hold of a private key with such a mining 
transaction. Can you perhaps put my address 
(1KGeNiDwzH5NrdwNETj3hQExwr5HMN9eFW) up for one mining payout? I'll be sending 
the coins back.

Original comment by andreas....@gmail.com on 23 Mar 2012 at 10:34

GoogleCodeExporter commented 9 years ago
I'll have to do it when I get back home, which alas will be in about a month or 
two.  I'm a long-haul trucker and don't get back that way very often, and I 
deliberately set my miner up with no inbound access whatsoever.

Actually...it'll have a delay of about a week, but I could (and so could you 
for that matter) set my laptop up as a miner and have it crank out a couple 
shares.  Eligius has a minimum payout amount, so it'll only send payment after 
either BTC0.65 or so, or a week of inactivity.  My laptop is pretty nutless 
when it comes to hashrate, so I fear it'll be a year or more before it actually 
hits that payment threshold...but I can go earn *something*.

Original comment by danbowk...@gmail.com on 23 Mar 2012 at 10:53

GoogleCodeExporter commented 9 years ago
I have mined a share on Eligius with your address as the target; in about a 
week it should trigger a payment of about 0.00005.  Not worried about seeing 
them again, seeing as how a quarter of a thousandth of a penny isn't terribly 
spendable.

Any idea what might be doing this?  I'm not exactly a programmer extraordinaire 
but I do know some of the basics of coding (primarily with PHP and old school 
Z80 assembler), alas I know jack squat about why the differences between newly 
mined coins and ones that have been in circulation.

Original comment by danbowk...@gmail.com on 24 Mar 2012 at 4:22

GoogleCodeExporter commented 9 years ago
The weird part is my first payout from mining was accepted into the wallet and 
was reflected in my balance; however, it prevented the app from displaying in 
portrait and crashed it whenever I viewed it thusly.  For some reason my phone 
forces landscape mode even though it's not supposed to when the keyboard is 
open, but it can't display the transactions since the screen isn't tall enough 
in that aspect.

Really thinking that whatever changed between the latest version as of my first 
payout date and the present version is what broke acceptance of mined coins, 
and that the crash related to display orientation has to do with it not knowing 
how to properly display mining transactions.

Original comment by danbowk...@gmail.com on 25 Mar 2012 at 2:34

GoogleCodeExporter commented 9 years ago
I have an idea. My problem is that I cannot make a final test until my address 
is on the list of outputs of a generation transaction. Thanks for initiating 
this - now I have to wait for some more days.

IMHO this issue has got nothing to do with landscape mode. Must be a 
coincidence...

Original comment by andreas....@gmail.com on 25 Mar 2012 at 5:24

GoogleCodeExporter commented 9 years ago
There is some kind of link in there: before the mining transaction hit, 
portrait (and landscape if the keyboard was slid open) worked fine.  When the 
first mining payout hit, it added it to my balance but would forevermore crash 
if I opened the app in any mode except forced landscape, with the keyboard 
open.  I reset the blockchain, and now it runs fine in portrait but won't 
display or process either of the two mining payouts.  Unless it's one helluva 
coincidence...

Original comment by danbowk...@gmail.com on 26 Mar 2012 at 12:21

GoogleCodeExporter commented 9 years ago
I just release version 2.01, which *maybe* helps with this problem.

http://code.google.com/p/bitcoin-wallet/downloads/detail?name=bitcoin-wallet-2.0
1.apk

Download/install, then reset your blockchain in Options -> About -> Reset

Restart app and watch blockchain download

If anything goes wrong, please let me know as I will release this version to 
Google Play pretty soon.

Original comment by andreas....@gmail.com on 26 Mar 2012 at 3:34

GoogleCodeExporter commented 9 years ago
Well it didn't break anything that I can see, but it didn't fix the problem 
either.

Original comment by danbowk...@gmail.com on 26 Mar 2012 at 8:26

GoogleCodeExporter commented 9 years ago
So you still get an exception/crash?

Really need to get hold of that mining transaction...

Original comment by andreas....@gmail.com on 26 Mar 2012 at 8:51

GoogleCodeExporter commented 9 years ago
After the first time I reset the blockchain, it doesn't crash.  The mining 
transactions just don't show up at all.  I suspect that I was running a 
previous version when the first mining transaction came in and it took it but 
displaying made it crash, and since I upgraded to 2.00 now it doesn't display 
at all.  I don't remember when exactly it upgraded though, as I had it set to 
automagic mode.

Having exported my key over to Mt. Gox (the export issue is with 
blockchain.info not with your client) I sent all my coins over to the Satoshi 
client I've got on my laptop, so at least there's no hurry to sort this out as 
far as I'm concerned anyways.  I might just have to use this gorgeous afternoon 
I find I now have available to delve into some code...might be fun anyways. :D

Original comment by danbowk...@gmail.com on 26 Mar 2012 at 9:01

GoogleCodeExporter commented 9 years ago
Seeing as how I have the private key, could I manually go into the block with 
that payment and decode it with regular old decryption tools?  It'd be ugly but 
it might just work, and no private key sharing required...

Original comment by danbowk...@gmail.com on 26 Mar 2012 at 9:03

GoogleCodeExporter commented 9 years ago
Your coinbase transaction has now arrived: 
530a9a969e7d935def256317e9423a16c7127389288b68c92910d08dbf2fe7b0

I can confirm the issue and will investigate into it.

Original comment by andreas....@gmail.com on 31 Mar 2012 at 2:23

GoogleCodeExporter commented 9 years ago
Any progress yet?  I've switched over to Bitcoin Spinner, which does handle 
newly mined coins, but I'd very much prefer the added security of handling the 
chain locally.  Spinner is nice and quick, but I can't say I really trust 
someone else's server handling my cash, ya know?

Original comment by danbowk...@gmail.com on 10 Jun 2012 at 7:55

GoogleCodeExporter commented 9 years ago
@danbowkley Yes, support for coinbase is appearing in BitCoinJ 0.6-SNAPSHOT. As 
soon as there is something to test, I'll let you know.

Original comment by andreas....@gmail.com on 10 Jun 2012 at 8:25

GoogleCodeExporter commented 9 years ago
This should now be fixed with Bitcoin Wallet 2.23 (using bitcoinj 0.6).

Original comment by andreas....@gmail.com on 5 Oct 2012 at 4:45