bitcoin/bitcoin — pull request #1647 by luke-jr (2012-08-01 22:43:58+00:00)
Title: CreateNewBlock: Consider parent transactions in the "cost" of child transactions until confirmed, and confirm them together

**Status: Tested in #1240, should be tested again with rebase on top of #1590**

This is the part of #1240 that @gavinandresen left out of #1590 since he felt it belonged in a separate commit/pullreq.