Updated Lecture 3 notes from Bitcoin