An example _callback function from Oraclize:
function __callback(bytes32 _queryId, string _result, bytes _proof)
{
if (msg.sender != oraclize_cbAddress()) throw;
if (oraclize_randomDS_proofVerify__returnCode(_queryId, _result, _proof) != 0) {
// the proof verification has failed, do stuff
} else {
// the proof verification has passed, do stuff
uint random = uint(sha3(_result));
myNumber++;
}
}
Is it possible that Oraclize could call this function twice for one query ID such that myNumber increases twice? I get it would cost money them to do so, but if they do control the execution of this function I might add a boolean modifier for integrity of those numbers.