CreateNewBlock performance improvements
Merge pull request #2677 from sipa/fastcreate

CreateNewBlock performance improvements