Ejemplo n.º 1
0
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);
}
Ejemplo n.º 2
0
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);
}