Inconsistant handling of Immature transaction via getbalance #3633

issue benrcole opened this issue on February 5, 2014
  1. benrcole commented at 6:37 PM on February 5, 2014: none

    It seems that when calling bitcoind via RPC, Immature transactions are handled inconsistently with respect to the getbalance method.

    When calling getbalance with no parameters, Immature transactions are not included in the total returned however when calling getbalance with an account name or * as an argument, Immature transactions are included in the returned value.

    ben$ bitcoind getbalance
    3950.00000000
    
    ben$ bitcoind getbalance "*"
    8950.00000000
    
    ben$ bitcoind listaccounts
    {
        "" : 5600.00000000,
        "p2pool" : 3350.00000000
    }
    
    ben$ bitcoind getbalance ""
    5600.00000000
    
    ben$ bitcoind getbalance p2pool
    3350.00000000
    

    Is this the expected behavior?

  2. laanwj commented at 9:58 AM on February 17, 2014: member

    No, this is not expected behavior. Should be fixed now (#3671).

  3. laanwj closed this on Feb 17, 2014

  4. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC