mark outputs as spent when filling history.