The price of bitcoin topped the $30,000 mark for the first time since June 2022, continuing a crypto rally that began at the start of the year.