Riot Platforms Registers Q2 Losses, Increases Mining Revenue