by spywaregorilla · 4y ago · 0 comments
Like, you have this proof of stake thing, but the only reason it works is because there's just a small number of validators, which is just going to be the ethereum foundation and friends.
edit: putting this at the top because nobody is responding on topic. I am NOT talking about the class of people who stake 32 eth to validate nodes. I am talking about the class of people with the ability to declare that the people with stakes did not validate correctly and therefore lose their stakes. My understanding is that this is a very small number of people and is mostly just the ethereum foundation.
edit edit: The term for this class is apparently called slashers, not validators.
Slashing is part of the protocol and to slash somebody you have to prove it to the protocol that they broke rules of slashing. One of the rules is that you can't create two different blocks in the same slot (block number) i.e. you can't deliberately fork.
There is a designated place in the block of the beacon chain where you can put signatures of the different blocks in the same slot as a proof and nodes will slash validator that produced that signatures (update his balance). Anyone can find these signatures, and block proposers of the new blocks will include them into the chain.
And there is no upper limit on the number of slashers.
Not true. In your defence, I also only learned this today.
https://docs.prylabs.network/docs/prysm-usage/slasher https://lighthouse-book.sigmaprime.io/slasher.html
It’s just the specifics of how this works - slashing is part of the protocol in the sense that I described: when you are chosen to create a new block and you have proof that someone violated the rules then you include this proof in your proposed block and update balance. Any validator can do it including the smallest of home stakers.
More details here. https://github.com/ethereum/annotated-spec/blob/master/phase...
Here we have slashing fields in the block body where you insert your proofs of slashable offense. There are functions with a “slash” in the name that describes precise state transition.
The hard part of slashing is finding these proofs because you have to do more work than necessary to detect slashing and produce proofs - that’s what this software does. It’s more expensive to run a slasher but you need only one and it does not matter who runs it, anyone can run it. The link that you sent says that this slasher broadcasts proofs by default - that way anyone can include it.
This is why they are limiting the number of validators.
Anyone can be a slasher, just as anyone can be a staker (as long as you have 32 Ether).
In this context, what it means is that a person posted conflicting validation messages on different parts of the network, and anybody who can show the existence of two such conflicting messages can post it to the blockchain, receive a reward, and the offending validator gets slashed.
(There are also other ways you can get slashed, read the POS documentation if you want to learn the details) All methods of slashing are fully decentralized.
[0] https://www.paradigm.xyz/2020/08/ethereum-is-a-dark-forest
[1] No clue if this has a different name in Ethereum
1. Every full node is part of this dark forest, maintains its own mempool, and gossips the mempool to others. You do not have to be a validator or miner to run a full node; just run an Ethereum client.
2. There are indirect economic incentives to 'watch the watchmen': a slashable staking violation that doesn't get slashed breaks the Ethereum security model, and is expected to be an extremely rare event (if it ever happens). With a network that has a market cap in the hundreds of billions; someone is watching and it only takes one to sound the horn.
I do agree that there probably will be altruistic validators in some cases, but the economic incentives work against them. The history of cryptocurrency has trended towards doing the minimum amount of validation work that satisfies network consensus[0]. It's entirely possible that the market just shrugs its shoulders and says that a violation of the Ethereum security model just isn't actually that bad. Consider the relative lack of concern over MEV[1] and automated arbitrage bots, and the fact that the valuation of the coin is entirely unconnected to any security issues it may or may not have. It may just wind up being the case that the network just... tolerates a handful of people getting screwed.
[0] For example, Bitcoin miners accept new blocks by literally joining other mining pools purely to steal their previous block hash. It's significantly faster than waiting for a full 4MB block to get P2P gossiped around the world, but the downside is that you can't actually validate any of the data in that block. This effectively means that miners aren't full nodes anymore, and the result has been several long chainsplits and reorgs whenever a softfork occurs.
[1] Miner Extractable Value
Ok, let me try ELI5ing it.
Let's say we have an economy where, in order to determine who owns what, people literally just make and publish a list of who owns what. Everyone trusts the lists. But what if someone decide to change the list so that it says they own someone else's stuff? Proof of Stake says that if someone wants to change the list - say, if someone traded something on the list to someone else - the page they add to the list also has to have some of their money taped to it. If that change turned out to be fraudulent, someone else can tattle on them, and then that someone gets the money taped to the list instead. So if you want to make sure you're reading from a not-fraudulent list, just check for the money taped to the page.
This all continues fine for a while. There's a bunch of people who maintain the list, all of whom have their own money taped to different pages of it.
One day, someone tries adding a fake transaction to the list. You, of course, notice it and tattle on them. Except in order to claim the funds taped to the list, someone else has to... add a note to the list saying you own them. And there's no reason why they can't just write down that they tattled instead of you, because the only proof that you were the one who tattled is getting it onto the list that you have to tape money to in order to add to. So the only people who have a reason to make sure the list is valid are the same people who are updating the list in the first place. Everyone else can tattle but they don't get paid for doing so, which was the the thing keeping the system secure.
EDIT: Clarification - once a slasher posts the violation, who removes the ether?
In other words, the blockchain; in the same way that it's not _miners_ / stakers who process transactions on bitcoin or ethereum ; miners / stakers only decide _ordering_ but everyone who runs an Ethereum client is processing and verifying every transaction; the same way your browser checks a TLS certificate.
Thanks for your answer!
The value in a staking account is calculated on the blockchain as "amount staked minus slashing penalties", and this violation is automatically recorded as a slashing penalty, so the answer is "everybody"
edit: for an example. you get hacked and lose $100M. You say fuck it, submit a slasher report that says it wasn't a valid transaction. you offer enough money to get x% of validators to agree with you.
As far as I can tell, you cannot get slashed for your vote on a slash. So lying is ok.
I would suggest to stop spamming the HN comment section and read the introductory articles people helpfully linked you to.
https://i.redd.it/5lhlmwdg27j91.png
Ethereum will be more decentralized after proof of stake. No longer do you need massive amounts of electricity and insider access to gpu or asic manufacturers.
9.9% percentage of that also was set aside for "founders". (it could however be more [2])
Today it accounts for something like 59% (72m) of total supply (~120m). Make what you will of that.
1. https://www.gemini.com/cryptopedia/initial-coin-offering-exp...
2. https://medium.com/@hasufly/ethereum-presale-dynamics-revisi...
> Today it accounts for something like 59% of total supply. Make what you will of that.
Can you help me understand what exactly this means? Ethereum's supply has grown since the presale, so if anything the 9.9% should have gotten smaller since then.
https://messari.io/asset/ethereum/profile/launch-and-initial...
Ethereum's crowdsale supply was 72 million ETH. Of that 60 million were sold for BTC in the crowdsale. 6 million was given to the Ethereum Foundation and 6 million to early contributors (overall 20% of what was sold was created as a pre-mine).
Now Ethereum's supply is ~122 million, so the miners produced 50 millions new ETH.
The total initial premine was 72m (~59% of today's supply).
I think someone more knowledgeable might provide a better breakdown of those funds, except that the article(s) linked covers it a lot better than my comment.
But what if most of the stakers collude to double spend tokens? My understanding is that there is an additional layer of validators that have the power to force them to give up their stake as a penalty. Hence "proof of stake". And that there are very few validators. And it's really just the ethereum foundation.
https://en.wikipedia.org/wiki/Proof_of_stake
Start here.
“The threat of a 51% attack still exists on proof-of-stake as it does on proof-of-work, but it's even riskier for the attackers. A attacker would need 51% of the staked ETH (about $15,000,000,000 USD).”
The difference is that proof of work automatically tends to centralisation due to its economy of scale: it's cheaper to add one more miner to your pool if you already have a big mining operation, but staking 1 eth is always staking 1 eth.
Both PoS and PoW have the problem where you can buy out the majority if you have the power to do so.
If I have 100 GPUs and I buy one more can't I turn around and say "But buying one more GPU is just buying one more GPU"? Even if your point is that electricity bills are lower per additional GPU, surely humans discount the value of incremental money after some point so for those with lots of eth incremental eth isn't worth as much?
No, you just need money, 32 eth is only around $50000.
And there's a lot of people with sufficient money to stand up multiple validators. And validators can also initiate/vote on arbitrary slash requests (which costs them nothing, as I read it).
Shrinking the number of people with the financial means to contribute doesn’t seem like it’s going to result in decentralization.
are both centralized, with the later being highly centralized. The move to PoS removes both of these centralized targets.
The question being asked is also a harder one to answer than just explaining PoS. Similar to a PoW scheme where only one or two people control all of the hashing power, it could be decentralized in theory but not actually in practice, and it doesn't seem like there are any super hard numbers on this aspect.
I explained in more detail here: https://news.ycombinator.com/item?id=32532604
The only question then is how indirect these sanctions can be. The node might not be allowed to validate a block with banned transactions, but what about the next block, which does not include these blocked transactions, only a pointer to a block with these banned transactions? What about the second next block, which has only a pointer to a block with a pointer to a block with these banned transactions? How many blocks until the link is tenuous enough that the validators under USA jurisdiction could validate again without fear?
Suppose Tony texts Paulie and tells him to wack a guy. That's illegal, unprotected speech, because it directly leads to imminent lawless action. Similarly the wallet owner who signs and broadcasts an Ethereum transaction to send money to North Korea would bass the Brandenburg test because it obviously leads to imminent lawless action.
The validator who builds the block that includes an illegal transaction is an interesting question. On the one hand by building the block, one could argue that they're instrumental in putting carrying out the illegal transaction. OTOH one might argue that if the transaction is in the network (and priced appropriately) it almost certainly will get included on-chain eventually. Therefore the validator might argue that it's activity doesn't create any imminent lawless activity, because the transaction being in the mempool is already fait accompli. The validator is more like the reporter writing about a crime in the newspaper.
But what I'm nearly certain of is that building on top of a chain with a previously finalized illegal transaction is okay. It's certainly not illegal to talk about a crime that's already happened. The further a block gets away from the initial block, then the less imminent the illegal action becomes. SCOTUS has historically held a very high standard for Brandenburg, which is why it's not even illegal to advocate for genocide or the violent overthrow of the American government.
I have no reason to doubt that your credentials as a constitutional lawyer are impeccable.
> The further a block gets away from the initial block, then the less imminent the illegal action becomes.
This very plausible legal theory inspires incredible confidence.
A common misconception here is that slashing happens based on what transactions you include or not. False. Slashing happens because of things such as proposing or attesting twice.
- If you detect some wrongdoing, like somebody attesting twice, you can get a reward for whistleblowing (free money!)
- However to claim this reward, you have to include it in a block. Therefore if everybody is aware of this wrongdoing, the next block will get the rewards for slashing/whistleblowing.
- Therefore it's economically advantageous to keep this info to yourself, until you get to propose a block, and only then slash and get the rewards.
- There are also what are called altruistic whistleblowers, that as soon as they find wrongdoing, they'll broadcast it (instead of keeping it to themselves) so next block proposer will slash the wrongdoer. These kind of whistleblowers will most likely be run by the Ethereum Foundation
- In practice even if there were no altruistic whistleblowers, it wouldn't really matter because the same software that validators run can also detect wrongdoing, so in practice even with no altruistic whistleblowers, the next block is almost guaranteed to slash the wrongdoer anyway (free money!).
Who is everyone? Because obviously it can't include the people who just colluded to deceive the network.
Also do they prove before or after slashing?
In the near future the rules are made by the people with the most ETH
and soon after the most ETHs will be earned by the people who make the rules.
The rest has to agree otherwise their stake is slashed.
This can't happen in bitcoin.
Please correct me if I'm wrong.
> and if you try to validate and not censor, you will get your staked coins taken from you by the protocol (as opposed to PoW, where you just fail to get your block in the chain)
Is outright false. It is the same as PoW. You choose what transactions you include in your block. So some people may choose to not include some transactions (Ethermine is already doing this on PoW with Tornado Cash). But there is no mechanism that slashes your staked coins because the other validators didn't like what transactions you included. At most your block will not get attested. Slashing can only happen for other reasons (proposing twice, attesting twice, attesting something that surrounds something else).
PoS is in fact even more resistant because in PoS you can kick out the malicious validators by doing a social fork that slashes their stake. In PoW if 51% of miners are malicious there's nothing you can do, you can't slash their hardware.
>So some people may choose to not include some transactions (Ethermine is already doing this on PoW with Tornado Cash). But there is no mechanism that slashes your staked coins because the other validators didn't like what transactions you included.
>PoS is in fact even more resistant because in PoS you can kick out the malicious validators by doing a social fork that slashes their stake.
If a group of validators don't agree with your particular arrangement of transactions in the block, they can engineer a "social fork" that slashes your stake.
But you can reach a social consensus (i.e. outside the protocol) and decide to slash the censors. At that point there would be effectively two different chains, the censored one and an uncensored one. The worth of each chain would be decided by market dynamics.
Why would I want to be on their fork? They can have their censored fork, but they can't do anything to anymore who doesn't want to be a part of it.
This only proves that ether is already too centralized.
FWIW. I used to mine eth on a small scale so I am obviously biased.
So, your transaction will be confirmed in the next block mined by one of the other 49% of miners. Big whoop.
They can also prevent you from getting your transaction in ever. The 49% cannot prevent this because they cannot make a longer chain, that is the entire point of proof-of-work.
Stick a fork in it. Ethereum is done.
With that degree of centralization, might as well just run a database and call it a day.
IMO - this behavior is a blip. As soon as it becomes clear that “censorship” isn’t effective, it will become less popular for validators to do it at all.
Are you talking about lack of ideological purity of Ethermine?
Yes, and the fact that everyone in the Ethereum community has largely glossed this over in their enthusiasm for the "merge" and what it will do the price of their assets.
Cryptocurrencies that embrace the centralization and censorship of fiat currencies are completely unnecessary and have no real utility. Tornado Cash and Ethermine should have been a line in the sand, a hard boundary for what's acceptable and what's not.
But the fact that no one even cares tells me that the community will be happy to accept even more censorship as long as their bags keep going up. Pathetic, really.
There will always be a miner (or validator in PoS) that will be willing to take Tornado Cash fees.
There is only one Bitcoin, and it's basically the chain the most clients are following. If you decide to follow another chain, you have created a new "coin", but Bitcoin is unaffected.
Is that how you evaluate technologies? By their marketcap?
> but now it is just managed by the big holders
To have any influence during the proof of work days you needed a server farm. This was also restricted to a small elite who could, if they wished, censor transactions.
With PoS, the big players control the small players. If the minority doesn't play along, their funds will be slashed by the procotol. If 66% of validators censor you, your transaction will never be finalized.
With PoW, the big players cannot coerce the small players in any way. Everyone independently controls their own blocks. If 66% of miners censor you, your transaction will merely take 3x as long to be confirmed.
If <50% of miners want to censor you, they can make it take longer for your transactions to be processed. If it's >50% (or thereabouts) they can prevent your transactions from every getting confirmed. Sure, the 34% could collude until they happen to produce 6 blocks in a row, but each individual member of that group would make more money by going along with the censorship and not being censored themselves.
I believe it's similar with PoS, but with somewhat different incentive magnitudes.
This is false. If miners controlling 66% of hash power decide to censor you, they can ignore any blocks produced by the minority who include your transaction.
I believe the point is that there’s no prerequisite that all miners are independent, and will definitely collude. PoW or PoS this is the case, as blockchains cannot prevent IRL agreements.
Legitimate question because I don't know.
When I'm mining eth on my GPU while part of a mining pool, my understanding is that my GPU is racing to try and find the hash that works to start the next block. If I find it, I then am able to put transactions into the block and cap it off, but the reward doesn't go to me because I was part of a pool, so the pool shares the reward with everyone involved.
Are you saying I only find the answer to the block but the pool itself stuffs the block with transactions?
Though it's entirely possible that mining pools dictate which transactions get sent to their miners for them to try mining.
With the old system, miners could try to sabotage our fork if most hashing power were to be on the censored fork. With this update, that would not be possible as the censors would lose their money on the non-censored fork and therefore be unable to stake. The relative power of the forks no longer matter as they cannot attack each other anymore.
Ethereum is becoming more decentralized and permissionless as a result of this change.
[1]: https://eth2book.info/altair/part2/incentives/inactivity
Inactivity leak is an emergency measure to restore liveness when the network stops finalizing blocks. It happens when >33% of validators are offline(WW3 scenario), major bug in widespread implementation, etc.
Your link explains that.
ETH2 is friendly to home stackers - you may lose some profit by being offline sometimes, and in the worst case minor penalties are applied.
EDIT: If you are interested in a much better description of what happens if you are offline, see this:
https://eth2book.info/altair/part2/incentives/penalties
Some points from the link:
- penalties =/= slashing
- If you are online > 42.5% of the sime - you are earning profits
In that case, without any stakes, half of nodes will be locked to NIL, half - to a valid block.
In case of stakes, byzantine proposer (it is only one node that is really byzantine, but it can control how network is split) can partition network according to a proportion of stakes, so that neither half gets prevalence.
The algorithm in the link you provided does nothing in that case. The only node that will be punished is a byzantine validator which does not care.
The system will be in no-progress-possible state indefinitely.
In PoS you still have the staking tokens.
To me it sounds like staking has a much more powerful snowball effect than mining and the gap between the wealthiest ETH participants and everyone else will increase faster under PoS.
Every holder who is staking is rewarded for staking, in proportion to their stake.
> To me it sounds like staking has a much more powerful snowball effect than mining
No, because issuance under proof of stake is much lower than that under proof of work.
The point of validating is to secure the chain, not to get rich. The more validators that are active, the lower the per-validator rewards, reducing compounding effects.
Also you lock-up capital which has an opportunity cost and must competes with every other investable asset. As the barriers to entry staking are negligible (just acquiring a liquid staking derivative like rETH, for example) it means that everyone willing to stake will likely do so which drops the returns lower, which may push some stakers out as they see better investing opportunities. So staking is likely going to have thin margins in the future and will give a rate of return that is fairly priced given its risk adjusted returns.
Last I saw, ETH mining was about 33% profitable. With mining rewards ten times higher than staking rewards, that means miners take home about three times more on their investment than stakers.
there's just a small number of validators, which is just going to be the ethereum foundation and friends.
There are over 415 000 validators.Docs from one of the validator clients: https://docs.prylabs.network/docs/prysm-usage/slasher
There is no such thing as "separate slashers", and there is no such thing as distinct classes of validators. Whoever told you that is spreading baseless FUD.
I am asking about the people with the power to declare that people who put up the stake were dishonest in their validations.
The key innovation in modern POS systems was figuring out how to do this, it is a solved problem.
no, that's right. It's now a chain where you make money (fresh coins) by a procedure controlled by the Ethereum Foundation.
What happens if something goes fatally wrong? The EF will step in and fix it.
This has (for a few years now) raised serious questions as to whether the new network will constitute an offering of securities - EF sets rules to run a validator and get paid in ETH.
All of this works via code and no human intervention is needed.
I assume Ethereum has something similar, as there isn’t much gain in restricting those who are allowed to submit a proof that a node/validator is up to no good.
As soon as mining pools appeared, and now even more with proof-of-stake, we are back with a few parties being the trusted validators. The fact that they get their powers from on-chain tokens rather than community decision... is it really a good thing?
What a time to be alive :)
Whether the project dies or continues forward the innovation coming from the space is pretty amazing.