dock handler
revert
revert
Fix Mac OS X Dock minimising issue

Conflicts:
	src/qt/bitcoingui.cpp
fixed dock conflict
Fix Mac OS X Dock minimising issue
Drop release times for CNode

It seems there were two mechanisms for assessing whether a CNode
was still in use: a refcount and a release timestamp. The latter
seems to have been there for a long time, as a safety mechanism.

However, this timer also keeps CNode objects alive for far longer
than necessary after disconnects, potentially opening up a DoS
window.

This commit removes the timestamp-based mechanism, and replaces
it with an assert(nRefCount >= 0), to verify that the refcounting
is indeed correctly working.

Conflicts:
	src/net.h
staking nomenclature
int64_t standard
int64_t standard more
millisleep nomenclature
Make explicitly requested salvage operations keep going when there is an error.

In my tests corrupted wallets would often result in BDB dropping an error
just due to duplicate records being found, which appears harmless.
fix displaying of staking state in some cases
Add previous block checking in the proof-of-stake miner

This should help against orphans.

Conflicts:
	src/miner.cpp
	src/wallet.cpp
Fix importprivkey / rescan

Conflicts:
	src/rpcdump.cpp
importprivkey: Don't throw error in case a key is already there
Allow the default key to be unavailable

This solves the issue where no default key can be added after -salvagewallet.

Conflicts:
	src/main.cpp
	src/wallet.cpp
fix unconfirmed balance if wallet contains conflicted transactions
follow 10-confirms recommendation in coin selection
updated copyrights