Reject transactions with excessive numbers of sigops
Remove tx from AlreadyAskedFor list once we receive it, not when we process it.
Fixed a bug with index bounds checking
Fix minor bug which only affected log messages.
Update coding style and add .clang-format
script.h: set_vch() should shift a >32 bit value

Source: http://www.viva64.com/en/b/0268/
Process fee estimate file into temporary vector first to let sanity checking complete.
Simplify and rename CheckWork to ProcessBlockFound
Allow -onlynet=onion to be used

Just an alias for onlynet=tor, but matches the new name
of the proxy option -onion= better.
Add IsReachable(net) function

Allows other parts of the program to query for reachable
status of a network. Similar to IsLimited(net).
Add GetNetworkName function

Returns the network name for an Network enum.
Replace the temporary file hack currently used to change Bitcoin-Qt's dock icon (OS X) with a buffer-based solution.
qt: Remove an obscure option no-one cares about

Remove the "Display addresses" setting checkbox. It doesn't do what
the tooltip says, and seems kind of pointless in any case.

Fixes #4580.
test: redirect comparison tool output to stdout

Otherwise travis thinks the build has stalled.
test: don't let the port number exceed the legal range
qt: Remove '0 BTC' placeholder from translation
small ordering cleanup of init help message
fix compilation error in core_io.h

- error: 'vector' in namespace 'std' does not name a type
- add <vector> include in core_io.h
- remove <vector> includes from core_read.cpp and core_write.cpp
add license header to core_io.h, core_read/_write.cpp
Merge branch 'merge-rawtx2' into merge-rawtx3