It's been a tough year for bitcoin miners who have seen their margins plunge. The fate of the industry is tied to how bitcoin and energy prices move in the upcoming months.