message: [Wallet] Speed up ColdStaking and Delegated balance computation
  using HasP2CSOutputs to skip unrelevant txes
diff: @@ -1734,7 +1734,7 @@ CAmount CWallet::GetColdStakingBalance() const
  for (std::map<uint256, CWalletTx>::const_iterator it = mapWallet.begin(); it != mapWallet.end(); ++it) {
  const CWalletTx* pcoin = &(*it).second;
  - if (pcoin->IsTrusted())
  + if (pcoin->HasP2CSOutputs() && pcoin->IsTrusted())
  nTotal += pcoin->GetColdStakingCredit();
  }
  }
  @@ -1750,7 +1750,7 @@ CAmount CWallet::GetDelegatedBalance() const
  for (std::map<uint256, CWalletTx>::const_iterator it = mapWallet.begin(); it != mapWallet.end(); ++it) {
  const CWalletTx* pcoin = &(*it).second;
  - if (pcoin->IsTrusted())
  + if (pcoin->HasP2CSOutputs() && pcoin->IsTrusted())
  nTotal += pcoin->GetStakeDelegationCredit();
  }
  }
  