Bitcoin Forum
May 23, 2024, 04:44:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: messed up account balance with generate transactions?  (Read 1092 times)
smooth (OP)
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
June 01, 2011, 08:41:49 AM
 #1

Eligius uses generate transactions to distribute pool coins.  I got a few, to an address I have assigned to "eligius" in my wallet, but they are showing up in the "" account.  Is this the expected/intended behavior?

    {
        "account" : "",                    <---- HuhHuh
        "category" : "generate",
        "amount" : 1.27329935,
        "confirmations" : 205,
        "txid" : "58cc0cf1877e8153b6b53b32e6c63bc486ae19a6f275e3dfe200f5d15d49d9af",
        "time" : 1306806056
    }

{ confirm with block explorer that this transaction went to 1B9hLQDUdpL29A2EMbCfx6fY2qpGKww9t }

$ ./bitcoin-0.3.21/bin/64/bitcoind getaccount 1B9hLQDUdpL29A2EMbCfx6fY2qpGKww9t
eligius
$ ./bitcoin-0.3.21/bin/64/bitcoind listaccounts
    "eligius" : 0.00000000,
CydeWeys
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
June 01, 2011, 01:21:55 PM
 #2

The default client doesn't handle lots of things very well.  In addition to what you pointed out, "generate" transactions don't count as received, so if you do something like listreceivedbyaddress, it won't show up in there.  Also, accounts balances won't show up correctly (they don't take generated coins into account), so the only way to see your proper balance is with getinfo.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!