News for hackers. Stuff that matters.
Re:Proof of stake is incapable of producing a consensus by arcticbull on Sunday November 28, 2021 @04:26AM (#29367480)
At the limit, proof of work and proof of stake converge - they are the same thing, except for the Kazakh coal that is burned in the former along the way.

PoS staking is simply committing a portion of your capital to the task of validating transactions. You benefit by receiving a reward in the form of additional tokens.

In a PoW system, the same exact thing can be accomplished by using your tokens to purchase a stake in a mining pool. You will similarly be unable to access your capital, be rewarded with additional tokens, and at the end of a period of your choice, you can liquidate your position in the mining pool to reclaim your tokens.

[edit] PoW in this context is a bit worse because PoW miners can rent out their hash power maliciously without being slashed.

In this world, the "nothing at stake" problem also manifests in proof of work, where I believe ownership in the mining pool makes you agnostic to the outcome of any chain splits - although I'm still working this bit through in my head. Opinions welcome!

Re:Proof of stake is incapable of producing a consensus by ogogmad on Sunday November 28, 2021 @05:42AM (#29367857)
> PoW in this context is a bit worse because PoW miners can rent out their hash power maliciously without being slashed.

Sounds wrong. Slashing is a means to prevent people from staking on multiple chains. In PoW, computing power is scarce, so if you allocate some compute time to one chain then you have less of it on another chain. You automatically get slashed. The difficulty in designing a PoS chain is in artificially re-creating this slashing and thereby solving the "nothing at stake" problem.

Re:Proof of stake is incapable of producing a consensus by lottin on Sunday November 28, 2021 @06:49AM (#29368144)
Where is the difficulty in making miners expend their tokens (i.e. in a way that is irrevocable) instead of merely depositing them somewhere?
Re:Proof of stake is incapable of producing a consensus by ogogmad on Sunday November 28, 2021 @06:57AM (#29368194)
In a blockchain, the chain keeps splitting. Your tokens live on multiple competing chains simultaneously. In PoW, you are forced to pick one of those chains to mine on. In PoS, you can stake on all of them simultaneously.

The splitting is unavoidable and happens constantly. Multiple competing future states are constantly being created, and the network has to eventually arrive at a consensus about which possible future is the true one.

> Where is the difficulty in making miners expend their tokens (i.e. in a way that is irrevocable) instead of merely depositing them somewhere?

Figuring out how to make spending your tokens irrevocable is the whole point of PoW/PoS. Your question reads to me like "In trying to solve problem x, why don't you assume that you've already solved problem x, and use that to solve problem x."

Re:Proof of stake is incapable of producing a consensus by lottin on Sunday November 28, 2021 @07:19AM (#29368331)
> Figuring out how to make spending your tokens irrevocable is the whole point of PoW/PoS.

Maybe I'm missing something... if miners are required to send the tokens to an invalid address, are these tokens not lost irrevocably?

Re:Proof of stake is incapable of producing a consensus by seoaeu on Sunday November 28, 2021 @08:37AM (#29368791)
What stops miners from sending their tokens somewhere, then hard forking from a previous block where they didn’t send them?

This has a clear answer in PoW, but not in your scheme

Re:Proof of stake is incapable of producing a consensus by lottin on Sunday November 28, 2021 @09:32AM (#29369170)
Easy, you put the transaction in the previous block. So the miner can only mine a block if they have already made the expenditure.
Re:Proof of stake is incapable of producing a consensus by ogogmad on Sunday November 28, 2021 @10:23AM (#29369549)
What if I create a whole new chain? Will the transactions at the very beginning of that chain have to be added to the big, old chain? How far back do the common ancestors of two chains have to be for your auto-merging to happen? What happens if two histories conflict? Then in Version Control parlance, we have a "merge conflict".
Re:Proof of stake is incapable of producing a consensus by seoaeu on Sunday November 28, 2021 @09:58AM (#29369352)
What stops me from doing a hard fork to roll back both blocks?
Re:Proof of stake is incapable of producing a consensus by lottin on Sunday November 28, 2021 @10:54AM (#29369854)
If you spend more tokens than the tokens that were spent mining the last two blocks you can erase the transactions in those blocks, but isn't that also the case with PoW?
Re:Proof of stake is incapable of producing a consensus by seoaeu on Sunday November 28, 2021 @12:29PM (#29370825)
You aren’t following. The hard fork lets me double spend the tokens from those blocks.
Re:Proof of stake is incapable of producing a consensus by lottin on Sunday November 28, 2021 @01:54PM (#29371696)
Indeed, I'm not following your argument.
Re:Proof of stake is incapable of producing a consensus by ogogmad on Sunday November 28, 2021 @04:03PM (#29372999)
Stop asking people to do your homework.
Re:Proof of stake is incapable of producing a consensus by ogogmad on Sunday November 28, 2021 @07:21AM (#29368343)
No. Did you not read the comment you were responding to?
Re:Proof of stake is incapable of producing a consensus by lottin on Sunday November 28, 2021 @07:38AM (#29368459)
Yes, I read it. As far as I can see, it talks about 'staking', so it doesn't address what happens when the tokens and 'expended' as opposed to 'staked'.
Re:Proof of stake is incapable of producing a consensus by ogogmad on Sunday November 28, 2021 @09:58AM (#29369351)
You have two competing chains: Chain 1 and chain 2. On chain 1, you spend a token on a good. On chain 2, you spend no token. You wait for chain 1 to win the race. You then stake on chain 2 to get your money back. If chain 2 then overtakes chain 1, you've executed a double-spend attack.

An equivalent attack wouldn't work on a PoW chain. If you do the equivalent of "staking" on chain 2, then you're computing hashes, which is costing real-life resources. In the PoS case, without slashing, staking on chain 2 is free. In fact, this is the rational move to make every time you spend a token; stake on competing chains to get your token back.

Re:Proof of stake is incapable of producing a consensus by cutemonster on Monday November 29, 2021 @03:10PM (#29384602)
Thanks for explaining (I'm a different someone)

There was a PoS mechanism that makes people who cheat lose all their coins? I wonder if it is relevant here

... Aha, that's "slashing" -- the other members in the network would look at the two chains, and notice that you were misbehaving, and add transactions that remove parts of your coins? (They'd add to both chains? Or just the winning one?)