message: Update bench test for coins selection.
diff: #include "bench.h"
  #include "wallet/wallet.h"
  +#include <timedata.h>
  +#include <random.h>
  #include <boost/foreach.hpp>
  #include <set>
  +uint32_t currentTime = GetAdjustedTime();
  +
  static void addCoin(const CAmount& nValue, const CWallet& wallet, std::vector<COutput>& vCoins)
  {
  int nInput = 0;
  @@ -17,6 +21,8 @@ static void addCoin(const CAmount& nValue, const CWallet& wallet, std::vector<CO
  tx.nLockTime = nextLockTime++; // so all transactions get different hashes
  tx.vout.resize(nInput + 1);
  tx.vout[nInput].nValue = nValue;
  + //Use default time for coin
  + tx.nTime = currentTime - GetRandInt(100) - 1; //qtum
  CWalletTx* wtx = new CWalletTx(&wallet, MakeTransactionRef(std::move(tx)));
  int nAge = 6 * 24;
  @@ -50,7 +56,7 @@ static void CoinSelection(benchmark::State& state)
  std::set<std::pair<const CWalletTx*, unsigned int> > setCoinsRet;
  CAmount nValueRet;
  - bool success = wallet.SelectCoinsMinConf(1003 * COIN, 1, 6, 0, vCoins, setCoinsRet, nValueRet);
  + bool success = wallet.SelectCoinsMinConf(1003 * COIN, currentTime, 1, 6, 0, vCoins, setCoinsRet, nValueRet);
  assert(success);
  assert(nValueRet == 1003 * COIN);
  assert(setCoinsRet.size() == 2);
  