bool markSerialAsUnSpent(CCoinsView &v, const uint256 &serial){ LogPrint("zerocoin","zerocoin markSerialAsUnSpent: marking serial %s as unspent.\n",serial.ToString()); return v.SetSerial(serial,always_spendable_txid); }
bool markSerialAsSpent(CCoinsView &v, const uint256 &serial,const uint256 &txid){ LogPrint("zerocoin","zerocoin markSerialAsSpent: marking serial %s as spent by %s \n",serial.ToString(),txid.ToString()); return v.SetSerial(serial,txid); }