bitcoin/bitcoin — pull request #2928 by jgarzik (2013-08-24 04:54:39+00:00)
Title: CreateNewBlock / getblocktemplate cleaning

Assuming no bugs, this pull request should present **zero behavior changes**.

It presents equivalent transformations that eliminate a needless getblocktemplate dependency.

Fixing this dependency is a blocker for no-wallet mode #2901 which will be rebased on top of this pull.

Tests fine, hopefully quick to review and ACK.