A new approach to bitcoin analysis