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
[Qt] minor watch-only changes

- use watch-only, not watchonly
- add back a tooltip hint when hovering addresses and attach
  "(watch-only)" at the end
checkpoints.cpp depends on main, it can use mapBlockIndex directly
Introduce BlockMap type for mapBlockIndex
Use boost::unordered_map for mapBlockIndex
Use memcmp for uint256 equality/inequality
contrib/linearize: Add feature to set file's timestamp based on block header time.
Merge pull request #4762

399cdbc contrib/linearize: Add feature to set file's timestamp based on block header time. (Jeff Garzik)
8f5a423 contrib/linearize: split block files based on year-month, not just year (Jeff Garzik)
75400a2 contrib/linearize: Guarantee that output is generated in-order (Jeff Garzik)
Merge pull request #4783

fbe0fca [Qt] minor watch-only changes (Philip Kaufmann)
depends: fix typo in source downloading. Regression from c897b1e732.

Some sources are renamed after download, since the filenames don't play nice
with (for example) gitian. This fixes the rename.

Needed for OSX build as it renames a file.
travis: add osx build
Merge pull request #4838

1e4f87f Use memcmp for uint256 equality/inequality (Pieter Wuille)
8a41e1e Use boost::unordered_map for mapBlockIndex (Pieter Wuille)
145d5be Introduce BlockMap type for mapBlockIndex (Pieter Wuille)
a0dbe43 checkpoints.cpp depends on main, it can use mapBlockIndex directly (Pieter Wuille)
remove dup include of foreach.hpp in script.cpp
Merge pull request #4843

81061ff travis: add osx build (Cory Fields)
e4cf9f8 depends: fix typo in source downloading. Regression from c897b1e732. (Cory Fields)
[Qt] copyright, style and indentation cleanup of Qt tests
Merge pull request #4850

1ffb99b [Qt] copyright, style and indentation cleanup of Qt tests (Philip Kaufmann)
Improve readability of CAddrInfo::IsTerrible

- Replaced 86400 with 24*60*60
- Remove references to specific timespans in comments

Github-Pull: #4724
Fix make_change to not create half-satoshis
Merge pull request #4836 from morcos/fix-make_change

Fix make_change to not create half-satoshis