2 ms·
> You can code up a proof-of-work algorithm in a hundred lines [of code] or so. Our current (Ethereum) clients are a hundred thousand lines or so for proof-of-s
by sanderjd 5y ago
> You can code up a proof-of-work algorithm in a hundred lines [of code] or so. Our current (Ethereum) clients are a hundred thousand lines or so for proof-of-stake.
There is an obvious asymmetry here. You can code up a toy PoS implementation in less than the hundred thousand lines of code in the actual production ethereum clients. The production PoW implementations are also not "a hundred lines or so".
And it's not that this point is wrong, PoS is more complex than PoW, but the hyperbolic comparison is not necessary to demonstrate that point. It sets off my "doth protest too much" alarm.
- Animats 5y agoThere are lots of ways to game proof of stake, and those require special case fixes. If someone can obtain a majority of the stake for a short period and take over the system, that's a big problem. Yet the whole point of much DeFi stuff is to have atomic transactions which involve a big loan, some transaction, and a payoff of the loan.