Riot and Bitfarms deal allows room for possible takeover