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
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
Prioritize and display -testsafemode status in UI

Like in a real world situation, a safe mode test should also be visible in the
UI. A test of safe mode is furthermore mostly relevant for developers, so it
should not be overwritten by a warning about a pre-release test build.
Make -proxy set all network types, avoiding a connect leak.

Previously -proxy was not setting the proxy for IsLimited networks, so
 if you set your configuration to be onlynet=tor you wouldn't get an
 IPv4 proxy set.

The payment protocol gets its proxy configuration from the IPv4 proxy,
 and so it would experience a connection leak.

This addresses issue #5355 and also clears up a cosmetic bug where
 getinfo proxy output shows nothing when onlynet=tor is set.
Merge pull request #5356

7357893 Prioritize and display -testsafemode status in UI (dexX7)
Merge pull request #5309

4574248 [Qt] minor ordering cleanup after new fee selection (Philip Kaufmann)
a01fa30 minor style cleanup after HTTP rest interface merge (Philip Kaufmann)
Merge pull request #5224

f321d6b Add key generation/verification to ECC sanity check (Pieter Wuille)
d0c41a7 Add sanity check after key generation (Pieter Wuille)