A bill banning bitcoin mining, authored by the communist party in Norway, was struck down by a majority vote in the Norwegian parliament.