Make spending_outputs a set<blob>