6 ms·
> How do I know what the "correct" blockchain is? That I'm not dealing with a fork? Ah, well, my friend, you should dive deep into the world of blockchain cons
by itistoday2 12y ago
> How do I know what the "correct" blockchain is? That I'm not dealing with a fork?
Ah, well, my friend, you should dive deep into the world of blockchain consensus, of which much has been written on.
Different blockchains use different consensus models. Namecoin and Bitcoin use the same one: proof of work via hashing. It's what prevents forks from happening (well, that and the block reward). Malicious forks can also happen via censorship, but as I explained in a previous link to a reddit comment, proof of work allows you to detect such attacks. Here it is again for your convenience:
https://www.reddit.com/r/privacy/comments/2xjy13/love_this_idea_for_fixing_https_with_a/cp211ng https://www.reddit.com/r/privacy/comments/2xjy13/love_this_i...
> Many thanks for all the various answers, I now have a much clearer picture of what dnschain is, and isn't.
No prob. Thanks for saying thanks. :)
- e12e 12y agoBut there's still a bootstrap issue? If mr. evil is mitm me, before I can start namecoind [ed: for the first time] -- I need to bootstrap into the block? (This isn't entirely hypothetical, think running dnscoin on a laptop for local resolving, and you don't trust your home ISP). But I assume you can bootstrap with the usual methods (eg: your OS come with the cert of at least once CA you trust, so you can use tls/ssl, or you can connect to a known, trusted ssh host etc).