Restructuring the Bitcoin types