What will make a transaction more likely to win the following smart contract ?
function win( address player, unit bet ) constant returns(bool) {
if( now < gameStartTime) return false;
if( endgame == true ) return false;
if( bet == theanswer )
{
endgame = true;
return true;
}
else {
return false;
}
}
assuming that gas price is the same for all senders. and all transaction are sent at the same time.
Will a miner have better a chance if they sign their own transaction and send it ?
Will a sender have a better chance if they send transaction simultaneously from multiple nodes ?
Does it matter if the sender is running full vs light node ?