study_bitcoin code