Everyone is a bit shit here (including whoever came up with that title...). No one "won" anything here.
DoE wanted to use "emergency" measures to survey miner's energy use, which is likely outside of the scope of the original intent of such powers (which appears to be why the judge granted a temporary restraining order?).
The Bitcoin miner's claim the data release would cause "irreparable harm to their business..." If that's not an admission of guilt, then I don't know what is.
It's just a type of pretrial injunction. You need to show that irreparable harm would come if the DOE did this. It's helpful to have the case look like you'd win. Since the judge already said that it looks like they'd win, he'd likely extend it all the way to the end of the trial.