How to Prevent the Hostile Takeover of a Blockchain