bitcoin/bitcoin — pull request #4393 by jtimon (2014-06-23 13:45:17+00:00)
Title: Remove unnecessary pow updates in rpc

The time is already set in CreateNewBlock and the nonce is set to zero for no reason (never used after that assignment).
In testnet mode the nbits (and thefore target, which is the same with another type) could be affected in testnet mode after finding the block with that additional UpdateTime (which may update nBits), which doesn't seem very safe.
This is not tested yet, but seems straightforward to review and test.