Bitcoin Forum
December 10, 2016, 03:28:27 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Help! (1btc bounty) listaccounts/getbalance disagrees with listreceivedbyaddress  (Read 1053 times)
HanSolo
Jr. Member
*
Offline Offline

Activity: 59


Don't everyone thank me at once.


View Profile
June 07, 2011, 05:59:34 PM
 #1

I mined a block! The block has matured!

But, while the mining bonus shows up in the output of 'listaccounts' and 'getbalance', there's no hint of it in 'listreceivedbyaddress'. And while I can view the block at blockexplorer (and the displayed fees exactly match my local getbalance), the pubkey displayed there isn't listed in the output of getaddressesbyaccount.

Is my wallet.dat corrupt?

What might have happened?

What should I/shouldn't I do to be sure I have the privkey for the address which received the generation fees?

I've already used the 'backupwallet' function to make another copy of wallet.dat. Bitcoin is still running.

Happy to throw 1BTC to the person/persons who can help me recover from this situation!

Never tell me the odds. ⓑ 1J5wQvCz2mn3f4TxPFtExKs253GyeKKkBb
1481340507
Hero Member
*
Offline Offline

Posts: 1481340507

View Profile Personal Message (Offline)

Ignore
1481340507
Reply with quote  #2

1481340507
Report to moderator
1481340507
Hero Member
*
Offline Offline

Posts: 1481340507

View Profile Personal Message (Offline)

Ignore
1481340507
Reply with quote  #2

1481340507
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481340507
Hero Member
*
Offline Offline

Posts: 1481340507

View Profile Personal Message (Offline)

Ignore
1481340507
Reply with quote  #2

1481340507
Report to moderator
1481340507
Hero Member
*
Offline Offline

Posts: 1481340507

View Profile Personal Message (Offline)

Ignore
1481340507
Reply with quote  #2

1481340507
Report to moderator
HanSolo
Jr. Member
*
Offline Offline

Activity: 59


Don't everyone thank me at once.


View Profile
June 07, 2011, 07:56:59 PM
 #2

Using bitcointools, I can see the keydata and transaction in the wallet backup. So I think I'm safe with access to the necessary key.

But it appears some bug (or confusing behavior) in bitcoind 0.3.21 is preventing the still-running client from showing everything in its wallet. A definitive explanation/fix/workaround for that problem would still be appreciated.

Never tell me the odds. ⓑ 1J5wQvCz2mn3f4TxPFtExKs253GyeKKkBb
Trom
Newbie
*
Offline Offline

Activity: 1


View Profile
June 09, 2011, 11:24:41 PM
 #3

I had the exact same question after I generated this block http://blockexplorer.com/b/129556.  I think I managed to work it out, but I don't know what I did is necessary or not.  I found my default key via bitcointools.  Then I created a new account containing that key:

Code:
bitcoind 1CnoM8QYx3Fuijuo4MRLgK5e5DvhsTqzcY mygen

Then, listaccounts showed the new account as well as the unnamed account containing the balance.  Then I sent the balance to my address (transaction here: http://blockexplorer.com/t/661USs4LPM):

Code:
bitcoind sendtoaddress 1CnoM8QYx3Fuijuo4MRLgK5e5DvhsTqzcY 50.03

Now listreceivedbyaccount returns the correct amount in the new account:

Code:
[
    {
        "account" : "mygen",
        "label" : "mygen",
        "amount" : 50.03000000,
        "confirmations" : 4
    }
]

I hope this helps.  I would be grateful if someone more knowledgeable could fill in some details.

1CnoM8QYx3Fuijuo4MRLgK5e5DvhsTqzcY
saltybrains
Full Member
***
Offline Offline

Activity: 137

AllCoinCasino Developer


View Profile WWW
February 10, 2014, 11:03:38 PM
 #4

still offering the 1btc bounty ? Smiley

AllCoinCasino.com : Instant Live Roulette broadcast from a Real Casino! (Bitcoin, Litecoin, Dogecoin, Peercoin, Namecoin, Infinitecoin, Feathercoin)
Pages: [1]
  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!