Merge pull request #4718

88fe88c gui: remove redundant numTransactions tracking (Wladimir J. van der Laan)
Move UpdateTime to pow
Move CBlockIndex::GetBlockWork() to pow::GetProofIncrement(nBits)
replace ComputeMinWork with CheckMinWork
Merge pull request #4632
build: osx: Fix incomplete framework packaging for codesigning

Starting with 10.9, Framework versions must be signed individually, rather
than as a single bundle version, in order to be properly codesigned. This
change ensures that the proper plist files and symlinks are present prior to
packaging.
Merge pull request #4618

eb0b56b Simplify serialize.h's exception handling (Pieter Wuille)
Allow BatchWrite to destroy its input, reducing copying
Make CScript::clear() release its memory
Update linearize scripts.

Break into two steps:
* Generate hash list
* Build data file(s) from local bitcoind blocks/ directory.

This supports building one large bootstrap.dat, or multiple
smaller blocks/blkNNNNN.dat files.
contrib/linearize: split output files based on new-timestamp-year or max-file-size
Merge pull request #4757
contrib/linearize: Guarantee that output is generated in-order

This was typically ensured implicitly by virtue of normal bitcoind
operation.  Adding an explicit check provides a stronger guarantee, and
it is cheap to add.
contrib/linearize: split block files based on year-month, not just year
Merge pull request #4683

fff7455 Make CScript::clear() release its memory (Pieter Wuille)
b0875eb Allow BatchWrite to destroy its input, reducing copying (Pieter Wuille)
Test IsPushOnly() with invalid push
Merge pull request #4351

da2ec10 Add a getutxos command to the p2p protocol. It allows querying of the UTXO set given a set of outpoints. (Mike Hearn)
Merge pull request #4654

c4a7709 Fixes ignored qt 4.8 codecs path on windows when configuring with --with-qt-libdir (ntrgn)
Merge pull request #4716

0d27dad Clean-up SyncWithWallets/SyncTransaction (Cozz Lovan)
travis: initial descriptor