How is a transaction being ordered inside a block? Looking at the blockchain.info explorer, I'm wondering, if you want your transaction to be in the first in the list (except for the mined block reward), can you control it?
I'm asking this because I'm planning to make a betting game where players will bet on who's transaction are first in the list. Can you control it if you want your transaction to be first in the list? Or is this purely on the miner's prerogative? Or even them can't control how the transactions are ordered in a block?
Mining pools and solo miners have control over the order of the transactions in their blocks.
This means that a mining pool can place a bet in your game, and then they can create a block that makes sure that they win.