GitHub PushEvent at 2014-02-13 17:29:57
Repository: bitcoin-git
Actor: gavinandresen
Payload: {"shas":[["f0898f67b5633210ab826a484d1e9be5f2e3f6d2","19a45ba432ebf68c5c553ec17ef341bff6a9e1b9@gmail.com","Handle \"dead\" transactions properly\n\nExtend CMerkleTx::GetDepthInMainChain with the concept of\na \"dead\" transaction-- a transaction generated by the wallet\nthat is not in the main chain or in the mempool, and, therefore,\nwill likely never be confirmed.\n\nGetDepthInMainChain() now returns -1 for dead transactions\n(0 for unconfirmed-but-in-the-mempool, and >1 for confirmed).\n\nThis makes getbalance, getbalance '*', and listunspent all agree when there are\nmutated transactions in the wallet.\n\nBefore:\n listunspent: one 49BTC output\n getbalance: 96 BTC (change counted twice)\n getbalance '*': 46 BTC (spends counted twice)\n\nAfter: all agree, 49 BTC available to spend.","Gavin Andresen",true]],"size":1,"ref":"refs/heads/getbalance_fix","head":"f0898f67b5633210ab826a484d1e9be5f2e3f6d2"}