Post
Topic
Board Bitcoin Discussion
Topic OP
How could a miner know he is in the best block chain
by
ebyccc
on 19/05/2016, 01:54:34 UTC
I have finished reading the bitcoin developer guide but still confused. Like you are a head first miner, and received a block inventory (broadcasted by its inventor), then you would reply a getheader to the peer, and he would response a sequence of headers. What if you find that sequence cannot match your own block chain, and judge whether the peer  or yourself is wrong (by which i mean not on the longest chain)?