message: [RPC] listcoldutxos: include only final, trusted, unspent coins
diff: @@ -1647,8 +1647,12 @@ UniValue listcoldutxos(const UniValue& params, bool fHelp)
  pwalletMain->mapWallet.begin(); it != pwalletMain->mapWallet.end(); ++it) {
  const uint256& wtxid = it->first;
  const CWalletTx* pcoin = &(*it).second;
  + if (!CheckFinalTx(*pcoin) || !pcoin->IsTrusted())
  + continue;
  for (unsigned int i = 0; i < pcoin->vout.size(); i++) {
  + if(pwalletMain->IsSpent(wtxid, i))
  + continue;
  const CTxOut& out = pcoin->vout[i];
  isminetype mine = pwalletMain->IsMine(out);
  if (!bool(mine & ISMINE_COLD) && !bool(mine & ISMINE_SPENDABLE_DELEGATED))
  