{"push_id":2224352901,"size":1,"distinct_size":1,"ref":"refs/heads/tickets-table","head":"221399ff0e31d34b5f4c3a3e09148a4d3f28eb46","before":"3dfcc7c2a10c2451e1025f97f0e2b6355efb2ce1","commits":[{"sha":"221399ff0e31d34b5f4c3a3e09148a4d3f28eb46","author":{"name":"Jon Chappelow","email":"858a568458b638bd5ce6b38bdcd8adabdd7797e5@gmail.com"},"message":"Create SetSpendingForTickets and RetrieveTicketIDHeightByHash.\n\nSetSpendingForTickets sets the spending columns (spend type, vote/revoke DB ID, and spend height).  The meaning of the DB ID depends on the spend type. See TODO before sync.\n\nRetieveTicketIDHeightByHash is used to get the inputs to SetSpendingForTickets for one or more ticket hashes following a call to InsertVotes, which only returns the ticket hashes.\n\nAdd spend_type column in tickets table, and go enum to indicate expired, live, voted, or revoked (-1, 0, 1, 2).\n\nTODO: As with the address table updates, the ticket table updates added here need a switch to be deferred to make a full sync tolerable.\n\nCreate ChainDB.DeleteDuplicates to call all the tables' delete duplicates functions.","distinct":true,"url":"https://api.github.com/repos/dcrdata/dcrdata/commits/221399ff0e31d34b5f4c3a3e09148a4d3f28eb46"}]}
{"actor":{"display_login":"chappjc"}}