Remove tx from AlreadyAskedFor list once we receive it, not when we process it.
Move g_signals.SetBestChain(..) below SyncWithWallets
[Qt] update form files for setting autoDefault explicitly to false

- also fixes indentation in one file (auto fixed by Qt Designer)
- removes several default parameters, which are not needed in the files
- related to #4840 (but not intended as fix for a no-bug)
Fixing compiler warning C4800: 'type' forcing value to bool 'true' or 'false'
Track modified size in TxMemPoolEntry so that we can correctly compute priority.
Add init scripts and docs for Upstart and OpenRC
netbase: Make SOCKS5 negotiation interruptible

Avoids that SOCKS5 negotiation will hold up the shutdown process.

- Sockets can stay in non-blocking mode, no need to switch it on/off
  anymore
- Adds a timeout (20 seconds) on SOCK5 negotiation. This should be
  enough for even Tor to get a connection to a hidden service, and
  avoids blocking the opencon thread indefinitely on a hanging proxy.

Fixes #2954.
When reindexing check for file before trying to open (refactored)
Bugfix: bitcoin-tx: scriptPubKey may be null, so accept outscript=<n>:
bitcoin-util-test: Test bitcoin-tx with null scriptPubKey
cleanup new script files (no code changes)

- add missing header end comments
- ensure alphabetical ordering
- update copyright year and license
header include cleanup

- ensures alphabetical ordering for includes etc. in source file headers
Merge pull request #4881

2d79bba cleanup new script files (no code changes) (Philip Kaufmann)
Merge pull request #4909
Merge pull request #4817

c26649f Track modified size in TxMemPoolEntry so that we can correctly compute priority. (Alex Morcos)
Bugfix: Add missing equals-sign to Travis config
Merge pull request #4798

d920f7d Move g_signals.SetBestChain(..) below SyncWithWallets (Cozz Lovan)
Merge pull request #4919

21b7add Bugfix: Add missing equals-sign to Travis config (Luke Dashjr)
Fixing compiler warning C4101

Github-Pull: #4856
Eliminate extra assignment