Abstract context-dependent block checking from acceptance
CreateNewBlock and miner_tests: Also check generated template is valid by CheckBlockHeader, ContextualCheckBlockHeader, CheckBlock, and ContextualCheckBlock
TestBlockValidity function for CBlock proposals (used by CreateNewBlock)
miner_tests: Disable checkpoints so they don't fail the subsidy-change test
Abstract DecodeHexBlk and BIP22ValidationResult functions out of submitblock
Implement BIP 23 Block Proposal
QA RPC tests: Add tests block block proposals
submitblock: Check for duplicate submissions explicitly
minor style cleanup after HTTP rest interface merge

- no code changes
[Qt] minor ordering cleanup after new fee selection
CreateNewBlock: Stick height in coinbase so we pass template sanity check
Fixed mempool sync after sending a transaction
Check pindexBestForkBase for null
docs: ThreadGetMyExternalIP has been removed

It was removed in https://github.com/bitcoin/bitcoin/pull/5161
Process help and version arguments before datadir.
Remove misleading comment about testnet's message string.
Merge pull request #5348

be4ac91 docs: ThreadGetMyExternalIP has been removed (Pavel Vasin)
Merge pull request #5350

e0535e1 Remove misleading comment about testnet's message string. (Pavel Janík)
Add sanity check after key generation

Add a sanity check to prevent cosmic rays from flipping a bit in the
generated public key, or bugs in the elliptic curve code. This is
simply done by signing a (randomized) message, and verifying the
result.
Add key generation/verification to ECC sanity check