unspentCache to verify whether outputs have already been spent