Bitcoin Forum
February 20, 2017, 06:41:10 AM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: messed up account balance with generate transactions?  (Read 885 times)
smooth
Legendary
*
Offline Offline

Activity: 1330



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,
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
CydeWeys
Full Member
***
Offline Offline

Activity: 154


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:  

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!