News for hackers. Stuff that matters.
Re:Ethereum 2.0 launches by awelkie on Tuesday December 01, 2020 @08:42AM (#25265006)
Can someone explain how block timing works in proof-of-stake systems? As I understand it, with proof-of-work the mining difficulty increases or decreases to maintain that each block is found in roughly the same amount of time. In proof-of-stake is there also a mechanism to regulate the time for each block to be added to the blockchain?
Re:Ethereum 2.0 launches by dirtnugget on Tuesday December 01, 2020 @09:18AM (#25265334)
No, as far as I understood the time between blocks in a PoS chain is basically just a timer (e.g. 10 seconds). There is no need to adjust that dynamically because there is no "race" to solve a problem. I guess it is even more predictable if it is not dynamically adjusted.
Re:Ethereum 2.0 launches by zadler on Tuesday December 01, 2020 @10:35AM (#25266029)
But that does have to be enforced via incentives/cryptography, and with reference to a clock.
Re:Ethereum 2.0 launches by dirtnugget on Tuesday December 01, 2020 @11:38AM (#25266741)
Well it is enforced by the protocol on which all node agree and there needs to be a mechanism for syncing clocks across nodes (also defined by the protocol) but they exist, e.g. https://ieeexplore.ieee.org/document/8946264

Not 100% sure what ETH is using here but there is a mechanism.

If someone would want to fake timestamps, they would need to deviate from the protocol and would thus not be on chain.

Re:Ethereum 2.0 launches by Benmcdonald__ on Wednesday December 02, 2020 @01:17PM (#25279430)
You are simply raising the fundamental difficulty with blockchains. How do you know what is the true chain in an adversary environment (the internet)? You gave us the question and no answer
Re:Ethereum 2.0 launches by dirtnugget on Saturday December 05, 2020 @05:57AM (#25313542)
Validation of the longest chain, agreed upon by the protocol which the nodes are running. This is the absolute fundamental of this technology. This is not new and it has been working for more than a decade.
Re:Ethereum 2.0 launches by dirtnugget on Saturday December 05, 2020 @08:31AM (#25314400)
* which the majority of nodes are running
Re:Ethereum 2.0 launches by Benmcdonald__ on Monday December 14, 2020 @07:07AM (#25416337)
That's not how the technology networks. That naive implementation would leave you wide open for sybil attack
Re:Ethereum 2.0 launches by hanniabu on Tuesday December 01, 2020 @11:52AM (#25266920)
This is incorrect. The difficulty is PoS adjusts to meet the target block time just like it does in PoW.
Re:Ethereum 2.0 launches by dirtnugget on Tuesday December 01, 2020 @12:15PM (#25267187)
I have to suspect that you are wrong. Can you provide a source? There is no mentioning of difficulty in the spec, instead there are predefined slot times:

https://github.com/ethereum/eth2.0-specs/blob/dev/specs/phas...

Here is how they sync: https://ieeexplore.ieee.org/document/8946264

Assuming they describe the BeaconBlocks mentioned here: https://github.com/ethereum/eth2.0-specs/blob/dev/specs/phas...

Also, which effect would an increased difficulty have?