Do not allow duplicate pending transactions; #1145

Conflicts:
	libraries/blockchain/chain_database.cpp