Censorship-resistance and public blockchains