Made some final fixes to HashCash, most notably Purpose as an enum.