message: Added remint parsing to getrawtransaction
diff: #include <boost/assign/list_of.hpp>
  #include <univalue.h>
  #include "sigma.h"
  +#include "sigma/remint.h"
  using namespace std;
  @@ -99,6 +100,19 @@ void TxToJSON(const CTransaction& tx, const uint256 hashBlock, UniValue& entry)
  in.push_back(Pair("value", ValueFromAmount(spend->getIntDenomination())));
  in.push_back(Pair("valueSat", spend->getIntDenomination()));
  + } else if (txin.IsZerocoinRemint()){
  + std::shared_ptr<sigma::CoinRemintToV3> remint;
  + try {
  + CDataStream serData(std::vector<unsigned char>(txin.scriptSig.begin()+1, txin.scriptSig.end()), SER_NETWORK, PROTOCOL_VERSION);
  + remint = std::make_shared<sigma::CoinRemintToV3>(serData);
  + in.push_back(Pair("publicCoinValue", remint->getPublicCoinValue().ToString(16)));
  + } catch (std::ios_base::failure &) {
  + throw JSONRPCError(RPC_DATABASE_ERROR, "An error occurred during processing the Sigma spend information");
  + }
  + fillStdFields(in, txin);
  +
  + in.push_back(Pair("value", remint->getDenomination()));
  + in.push_back(Pair("valueSat", remint->getDenomination() * COIN));
  } else {
  in.push_back(Pair("txid", txin.prevout.hash.GetHex()));
  in.push_back(Pair("vout", (int64_t)txin.prevout.n));
  