When does the miner cashout?