Bitcoin rallied to an all-time high of $5,856.10 on Friday, helping boost its market cap.