4 ms·
> For PoW, you'd have to know the hash of the start of the chain (the "genesis block") in advance to verify you downloaded the correct chain. Nope. You could f
by supermatt 5y ago
> For PoW, you'd have to know the hash of the start of the chain (the "genesis block") in advance to verify you downloaded the correct chain.
Nope. You could fork the chain at a period of low difficulty and it would still stem from the genesis block. It would either be a short chain, or have clearly low difficulty though, so it wouldnt fool anyone knowledgeable. Im not sure how you would leverage that chain for fraud.
- neuroma 5y agoWhy fork at low difficulty?
- mlyle 5y agoYou need to fork at low difficulty if you want to significantly lengthen the chain from that point, because creating a high difficulty, long chain that is valid is hard. But-- there's nothing to preclude you making big steps up in difficulty at the end of the chain. It means that one evaluating the length of the chain for authenticity really needs to integrate the difficulty over the entire chain and not just look at the number of blocks.
- xg15 5y agoI was wondering about that bit actually. Suppose I'm a new node and want to verify the blockchain. How do I verify that each block was mined with the correct difficulty? I'd need some record about the actual real-world timestamps for each block. Then I could say something like "duration between block x and block x+1 was > 10 min, so the down-adjustment in block x+5 is justified". But if those timestamps were stored on-chain, an attacker could simply lie about them and keep difficulty artificially low on its alternative chain. On the other hand, if we had some un-forgeable record of block timestamps, wouldn't this solve the double-spend problem all on its own? Would we even need PoW at this point? Edit: Ok, sibling comment seems to suggest bitcoin has solved this problem differently: https://news.ycombinator.com/item?id=29368166 https://news.ycombinator.com/item?id=29368166
- mlyle 5y agoYes, Bitcoin effectively integrates the difficulty over the entire chain.
- rocqua 5y agoA while ago bitcoin clients changed from facoring the 'longest' chain to favoring the chain with the most work done on it. (To prevent long chains with low difficulty)
- somebodythere 5y agoSo... the consensus rules of the network changed, you need to make sure you have the correct client, and bitcoin is weakly subjective after all?
- PeterisP 5y agoThe client can choose properly, but it needs to "call a friend" in order to get the options - if the client doesn't receive the proper chain but only fake ones, it will chose the fake one with the most work done on it.