Recent security failures in highly trusted Bitcoin systems have forced a painful reckoning, showing that even users who mostly do everything right can lose money.