News for hackers. Stuff that matters.
Re:The Merge by WFHRenaissance on Saturday August 20, 2022 @05:45PM (#32535409)
Ethereum in its current state is using proof-of-work (PoW) to ensure consensus amongst the thousands of nodes in the network. While PoW is reliable and secure, it is also extremely energy intensive. To produce each block on the network participants are required to use powerful and energy-hungry GPUs to solve a complex mathematical problem.

Alternatively, proof-of-stake (PoS) guarantees the security of the network in a different way. In PoS, anyone with 32 ETH can deposit that ETH to become a validator, a node that participates in the network's consensus algorithm. Finalizing a block requires 2/3 of all active validators to sign off on it. Should a malicious actor try to tamper with the underlying protocol by using a large number of validators to revert a finalized block (the equivalent of a "51% attack" in PoW) their funds are slashed — meaning they lose a portion of their staked ETH. This makes attacks extremely expensive; it would be like a PoW system where if you use your mining hardware to attack the network then your hardware catches fire and is destroyed.

PoS does not require the same energy-intensive hardware as PoW. Any relatively recent consumer hardware should be capable of running the software required to operate a 32 ETH staking node. If you deposit more than 32 ETH, you will be assigned multiple "validator slots" by the protocol, but you will still be able to run them from a single computer, though hardware requirements go up the more you stake. Most estimates put the expected energy savings from the switch to PoS to be around 99%.

If you have any additional questions please let me know!

Re:The Merge by mondoveneziano on Saturday August 20, 2022 @06:10PM (#32535601)
> required to use powerful and energy-hungry GPUs to solve a complex mathematical problem.

No mathematical problem is getting "solved".

It is much more akin to playing the lottery: Entirely random numbers are being tried out, by sending them through an energy-intensive algorithm (being energy-intensive is the algorithm's only purpose in proof-of-work), until what comes out is less than another number. That other number is chosen according to the desired "difficulty", it has no significance beyond that.

The algorithm is literally meant to spend energy, i.e. the outcome of the computation has no meaning by itself. This also means that proof-of-work cryptocurrencies actively counteract any advances to make the computation more efficient: The "difficulty" will just be adjusted up until the efficiency gain is canceled out. Proof-of-work cryptocurrencies are inefficient by design.

Re:The Merge by WFHRenaissance on Saturday August 20, 2022 @06:40PM (#32535782)
Eh, a mathematical puzzle is being solved via brute-force. My intent was to explain briefly that the problem/puzzle is by nature computationally-intensive to the extent that brute-force is the most efficient way to solve/complete it.
Re:The Merge by lottin on Sunday August 21, 2022 @03:30AM (#32538099)
It's a guessing game. Referring to a guessing game as a complex mathematical problem is misleading.
Re:The Merge by shukantpal on Sunday August 21, 2022 @03:36AM (#32538129)
False. The problem is so complex we have to resort to guessing / brute force to solve it; if it's so easy, give me a closed-form solution so I can become rich.
Re:The Merge by Josde on Sunday August 21, 2022 @03:43AM (#32538169)
While that is true, I think the point that other users are trying to make is that wording it as "a complex mathematical problem being solved" makes it look like that work is doing something useful when it really is not.
Re:The Merge by lottin on Sunday August 21, 2022 @04:21AM (#32538317)
It's worse than that, they're aren't solving anything at all. They're taking part in a lottery, in which participants have to guess a number, and the winner gets to update the ledger. Nobody is solving complex mathematical problems.
Re:The Merge by wasabi991011 on Sunday August 21, 2022 @12:39PM (#32541853)
Given y, solve for x in the equation f(x) = y

That's a valid use of the word "solve". It is obviously mathematical. It is complex, as we do not have a simple way to solve it.

I get it, words can have multiple meanings. It's fine to give a clarification on the specific use here, but then move on.

Re:The Merge by WFHRenaissance on Sunday August 21, 2022 @06:28AM (#32538848)
They’re brute-forcing the solution to a mathematical puzzle.
[dead]
Re:The Merge by pixelbro on Sunday August 21, 2022 @10:28PM (#32546640)
Oh, get off it. He's not "pretending to disagree", merely providing further context for the anti-utility of the PoW algorithm. The point is that the colloquial understanding of "solving a problem" implies more utility than what is actually happening, which is equivalent to guessing a random number. The mere statement that a problem is being solved at all implies that useful work is being done, which is not the case and the parent comment is right to point that out.
Re:The Merge by baobabKoodaa on Monday August 22, 2022 @04:09AM (#32548651)
> Oh, get off it. He's not "pretending to disagree", merely providing further context for the anti-utility of the PoW algorithm. The point is that the colloquial understanding of "solving a problem" implies more utility than what is actually happening, which is equivalent to guessing a random number. The mere statement that a problem is being solved at all implies that useful work is being done, which is not the case and the parent comment is right to point that out.

You're either trying to confuse others intentionally, or if I'm interpreting charitably, you are merely confused yourself. In neither case is this attitude warranted. You just re-explained that the crux of the issue is useful work vs non-useful work. This is exactly the same point that Josde explained. This point was contested by lottin. I don't understand why they would contest it, as they very clearly agree with that point (based on reading other messages they wrote in this thread). According to you, lottin is not "pretending to disagree", they are "merely providing further context". This is very obviously not true. Either you are lying on purpose or you are confused, maybe you didn't read their message properly. Here it is again for you to read:

> It's worse than that, they're aren't solving anything at all. They're taking part in a lottery, in which participants have to guess a number, and the winner gets to update the ledger. Nobody is solving complex mathematical problems.

Does that sound to you like "yes, I agree, and here is some further context"? Obviously not. That message is expressing strong disagreement, not further agreement.

Please stop spreading misinformation.

Re:The Merge by pixelbro on Monday August 22, 2022 @09:04AM (#32550757)
> Obviously not. That message is expressing strong disagreement, not further agreement.

Not obvious to me. But sure, I'm confused all right. Confused at how lottin's comment could be interpreted as contesting Josde's, when it reads as a reinforcing restatement to me. Confused at your hostility and accusations of misinformation.

Perhaps you're confused about how online conversations work? Sometimes people reply with a restatement when they feel the original doesn't go quite far enough. I mean, lottin's comment was arguably ineloquent, but he wasn't "muddying the waters". Do you perhaps have some expectation that the act of replying implies disagreement? Is it the strongly negative tone that gave you that impression? It certainly isn't the content, since you correctly interpreted my own restatement of lottin's comment as agreement.

I'm not trying to confuse others, I'm trying to enlighten you, specifically, about what happened here so that you might reconsider next time before jumping on someone for something they didn't say.

Re:The Merge by baobabKoodaa on Monday August 22, 2022 @04:45PM (#32556964)
Ok, you and one other person said that lottin's comment doesn't read as disagreement, so maybe you're right and I'm the one reading it incorrectly. I'll take your feedback. Seems like I might be in the wrong here.
Re:The Merge by detaro on Monday August 22, 2022 @09:07AM (#32550793)
> Does that sound to you like "yes, I agree, and here is some further context"?

Yes, very much.

Re:The Merge by lottin on Sunday August 21, 2022 @04:11AM (#32538281)
The fact that there isn't a closed-form solution doesn't make it a complex mathematical problem.

Guessing a number isn't a complex mathematical number, it's just guessing a number.

Re:The Merge by fzfaa on Sunday August 21, 2022 @06:15AM (#32538801)
afaik the solution that has to be "guessed" is not random. We just don't know how to get to it without brute force.
Re:The Merge by WFHRenaissance on Sunday August 21, 2022 @06:28AM (#32538845)
Brute-force solutions are still solutions :)
Re:The Merge by dodomodo on Sunday August 21, 2022 @08:17AM (#32539420)
But the whole usage of the math puzzle is that you have to solve it using brute force, If there was a better way it won't be useful. So yeah the whole point is just guessing numbers not solving the puzzle.
Re:The Merge by tromp on Sunday August 21, 2022 @05:34AM (#32538625)
What you describe is just one particular (although by far the most common) Proof-of-Work algorithm called HashCash. There are several others, such as Cuckoo Cycle, in which one must find a fixed length cycle in a huge random graph, an obvious mathematical (graph theory) problem [1].

[1] https://cryptorials.io/beyond-hashcash-proof-work-theres-min...

Re:The Merge by Banana699 on Saturday August 20, 2022 @06:37PM (#32535758)
This is a lot of words to say that PoW involves an inverse-hash problem being solved. Inverse-hash is a mathematical problem. Finding the nonce is solving it.
Re:The Merge by osigurdson on Saturday August 20, 2022 @07:37PM (#32536094)
Here is how I explain it to people:

Imagine a page of a book, for each letter a-z, assign a number to it (a=1, b=2, .. , z=26). Compute the sum of all of the letters on the page but reset back to zero when 100 is reached (i.e. 97 + 5 = 2). The resulting number is a kind of signature for the page. Changing a letter would result in a different sum.

At this point, people usually understand the utility and irreversible nature of it but quickly realize that many pages could have the resulting signature. It is a fairly easy leap of faith for most people to accept that there could be much more sophisticated algorithms that 1) use a bigger number for the signature and 2) take position into account and 3) result in very different signatures with tiny changes in input. This is usually sufficient for anyone to understand what is meant by a hash.

Finally explain that the hash must have a certain pattern to it (like end in a zero for example). If the hash of our "page" does not have this pattern, add another small gibberish word to the end and try it again. Keep trying until a hash with the expected pattern is found (and there is your Bitcoin).

The suggestion that a mathematical problem is being solved (while not completely inaccurate) sounds a bit more elegant in my opinion than what is really going on. It is really more like guessing (not that it really matters).

Re:The Merge by jrm4 on Saturday August 20, 2022 @08:15PM (#32536276)
I definitely think it matters. The metaphor of "some moron pulling a slot machine over and over and over" (which is what I use) is more accurate and I think better represents what's actually happening than something like "solving," which evokes the image of smart person (or machine) sitting down and using their brain to discover useful information. When you say "solve" it implies that the information that is produced by the process is inherently valuable.
Re:The Merge by hunter-gatherer on Saturday August 20, 2022 @09:44PM (#32536682)
I agree with this point for the same reason; what matters is how people interpret it. Of course if I'm talking to a CS type I can go right into the details. The analolgy I use with laymen is solving a large rubiks cube by randomly moving pieces instead of using any other sophisticated methods. Somebody please correct my if I'm wrong as I haven't been in the cryptocurrency space for a minute, but I believe most of the 'solving' is just a nonce increment that is then hashed with the previous block header, current block, and maybe a couple other things.

I've noticed that whenever I assert that a 'complex mathematical problem' is being solved people tend to think of an ever-growing algebraic equation.

Re:The Merge by osigurdson on Saturday August 20, 2022 @11:21PM (#32537123)
The only problem with the rubik's cube analogy is that it may suggest that there are more optimal methods to solve it and they just aren't being used.
Re:The Merge by hunter-gatherer on Monday August 22, 2022 @03:57PM (#32556390)
Yes, I agree. In real life I emphasize the bit I said about "randomly moving pieces", and explain that it is a feature built into the protocol. Of course there is a lot of mathematic handwavery, but people seem to get it after the fact. I've also learned that most people don't actually realize there are more optimal ways to solve rubiks cubes anyways.
Re:The Merge by yencabulator on Sunday August 21, 2022 @03:30PM (#32543584)
Worse; if someone came up with an efficient means of solving this particular "Rubik's Cube", the cryptocurrency people would be in a rush to move away from that, and find an alternate lottery where only dumb luck helps.
Re:The Merge by NiloCK on Sunday August 21, 2022 @07:19AM (#32539088)
A lot of textbook exercises begin with a prompt like "solve for x", where x has no existence outside the scope of each given exercise. The information that is produced has no inherent value, but I'd be surprised to hear many people object to this usage of "solve".
Re:The Merge by cinntaile on Saturday August 20, 2022 @09:58PM (#32536730)
Well it is valuable. You get to include the pending transactions in a block and you get rewarded for solving the puzzle.
Re:The Merge by jrm4 on Sunday August 21, 2022 @09:57AM (#32540242)
This is what I was trying to get to with "inherently." The information ITSELF that is yielded by the process is 100% arbitrary and not valuable, i.e. relays no additional useful information about the world (e.g. the boiling point of some new liquid or something), like many would think of when we think of people doing math to solve things.
Re:The Merge by cinntaile on Sunday August 21, 2022 @01:29PM (#32542365)
I totally understood that you tried to define valuable in such a way to exclude cryptocurrency mining, as you can see below however it's not easy to create a definition like that. It also begs the question why that arbitrary definition of valuable is more correct than another arbitrary definition that excludes something else instead...

> valuable, i.e. relays no additional useful information about the world (e.g. the boiling point of some new liquid or something)

Theoretical mathematicians don't provide anything useful according to your definition.

Re:The Merge by jrm4 on Sunday August 21, 2022 @07:50PM (#32545689)
Again, we're looking for a good definition for explaining it to laypeople, and I don't find it that difficult. "Pulling a slot machine" or the one from the "solving Sudokus" both work pretty well.

The theoretical mathematician definition isn't very good either because I think enough people get that the novelty has some kind of inherent value that doing something repetitive like the above does not?

Re:The Merge by Banana699 on Saturday August 20, 2022 @08:35PM (#32536355)
Modulo summation is a good hash function to teach non-CS people what hash functions are in principle. But, judging by my experience in learning about how Bitcoin works, is not sufficient to see why it's a secure currency (and PoW explanations are only invoked in that context). I knew about hash functions long before I knew why bitcoin works.

I think the first thing people need to get over to understand de-centralized currencies like bitcoin is that money is just an illusion, a big fat shared delusion, or more accurately an inter-subjective fantasy, a way of keeping track of labor\value by agreeing on some scarce valuable thing and declaring that it represents every other scarce valuable thing if everybody agrees to trade any scarce valuable thing they have against it. I don't think most people truly relize this at the gut level (and this is not an insult to the intelligence of people, it was mind blowing and deeply enraging\upsetting to me when I worked through it to the end as well). Concept #1 : Money is any (possibly artificially) scarce thing that people with things you care about want to trade against.

Next, you observe that a currency doesn't actually has to be an actual thing you own, it just has to be an entry in a trusty and available record of all the favors you did\was done to you. Physical things are merely a convenient way to maintain a distributed record of favors in real life, but in principle all of our paper money could be replaced by a huge paper spreadsheet recorded by an infalliable angel who never lies or cheats, recording in each entry who did what favor to whom, and the amount of "favorism" that was done (so that it can be traded against other favors in the future). If everyone had an always-updated read-only access to that spreadsheet somehow, then this is a perfectly good and perfectly secure money system. You "pay" by invoking the earlier favors owed to you, "paid" to you by others, invoking favors "spends" them : turns them into the ownership of the entity you are paying. New favors are created by the infalliable angel whenever they deem necessary, they simply write in the spreadsheet "I now own 20 more favors than before, by the sheer force of my will". Concept #2 : Money doesn't actually have to be a scarce thing, it just needs to be a trusty record of transactions, scarce things approximate that fairly well in real life but are not the only way. Money is simply any promise backed by trust, scarce things are just one way of implementing that.

The final push is actually the hardest. You can't understand bitcoin without understanding even the tiniest bit of distributed systems. The fundamental difficulty of distributing a soft record and yet still preserving it's append-only nature while the machines the record is stored on can tick at 4 billion times a second must be appreciated and truly understood in all its impossiblity. Distributed blockchains' delightfully bizarre solution must be appreciated in all its counter-intuitevity. I was stuck at this stage for a long long time, knowing hashing and crypto (public API wise) but finding it difficult to understand why can't I just make-up money as I please, who's going to stop me ? who's going to know ? How can bitcoin stop me or even detect me without a central authority ? Distributed Systems are simply magic, and crypto-currencies get most of their magic and brilliance from that component. But eventually you get there if you're motivated enough and manage to dodge\discard all the trash pop-sci false explanations. Concept #3 : Bitcoin utilized super-smart magic from several apparently-unrelated fields of CS to make the fantastical spreadsheet from concept #2 come to reality.

Anyway, all of that long rant was just to say I don't think hyper-focusing on the intricacies of hashing and public-private cryptography is actually helpful for people to understand the 'why' of decentralized currencies. I don't mean they're not important building blocks, they are invaluable of course, I just mean the vast majority of work in decntralized currencies is done by the decentralized blockchain they are running on, and those work because PoW is a piece of magic and also distributed systems and also NP-hardness.

>The suggestion that a mathematical problem is being solved (while not completely inaccurate) sounds a bit more elegant in my opinion than what is really going on.

That's a very human centric way of putting it, but I agree. If a computer is searching through the library of babel to find a treatment for cancer, the computer is still 'solving' cancer, it just doesn't do it by studying medicine. "Elegance" is a human value, and my personal philsophical belief about intelligence is that its all really Search, Neural Networks and Reinforcement Learning Agents and Evolutionary Computing and Human Brain Heuristics and Knowledge are all really more efficient way of searching spaces and trees. Medicine is just there to tell what branches not to search. So the library of babel computer is just doing intelligence a bit more naively and expensively than its more efficient artifical or natural cousins, but its still "solving" a problem, like all intelligences do.

Re:The Merge by bawolff on Saturday August 20, 2022 @10:22PM (#32536859)
> Concept #3 : Bitcoin utilized super-smart magic from several apparently-unrelated fields of CS to make the fantastical spreadsheet from concept

Not really. Bitcoin (i.e. the original satoshi version) is hashcash, data structure merging and some game theory. Its an ingenious system, no doubt, but its ingenious because it put together some really well known building blocks in a smart way. It definitely did not use super advanced stuff from any field of CS, let alone multiple.

And that's not a dig at it either. In many ways that makes it more impressive.

Re:The Merge by Banana699 on Saturday August 20, 2022 @11:32PM (#32537177)
Bitcoin effectively invented, completely from scratch with no precedents I'm aware of, a probabilistic Atomic Total-Order Broadcast algorithm, that's a pretty damn advanced Distributed Systems problem to me, and a solution that was never investigated in Distributed Systems orthodox literature before it as far as I know. So, in no way "really well known".

And public-private crypto & hash pointer data structures are both fairly advanced CS from multiple fields. Public Key Crypto was discovered in the late 1970s and only further explored in the 1980s, hash data structures only in the 1980s and 1990s. That's fairly young, most vanilla CS ideas date from the 1960s or before. Just because the public APIs of those things can be explained in an afternoon doesn't mean at all that they aren't advanced concepts: I can explain what a hydrogen bomb does to a 10 year old, but that wouldn't imply the Hbomb isn't advanced nuclear physics.

Re:The Merge by bawolff on Sunday August 21, 2022 @02:15AM (#32537828)
> Bitcoin effectively invented, completely from scratch with no precedents I'm aware of, a probabilistic Atomic Total-Order Broadcast algorithm,

Yes, the new thing bitcoin invented was novel and quite interesting. I'm not sure that is the words i would use to name it, but the result still stands.

> Just because the public APIs of those things can be explained in an afternoon doesn't mean at all that they aren't advanced concepts

Of course not. They are advanced concepts because they are some of the most basic concepts in the field and used throughout the industry. Hash functions are so prevalent that we literally have special x86 instructions just to speed up calculating sha256.

Compare for example to things like ZK-SNARKs, or homomorphic encryption which are actually cutting edge cryptography.

Re:The Merge by osigurdson on Saturday August 20, 2022 @09:33PM (#32536635)
I think many people already know that fiat currencies depreciate and something like gold without the digging might be useful. I find people want to know more about the how than the why. If they understand a little more about how it works, they can build a bit of an intuition and can formulate their own opinions regarding whether they trust it or not (vs simply trusting another person that has an opinion on the topic one way or the other).

Of course, the hashing/nonce part is only one part of the mechanism and probably not even the most important part. However, it is where the bulk of the energy is used - most people have heard that Bitcoin uses a lot of energy and would like to understand that a bit better. I have other "parables" for explaining public/private key encryption, etc., but I was primarily responding to the parent comment.

>> That's a very human centric way of putting it

Humans are the ones assigning the value to this and they may be more likely to assign a higher value if it appeals to their sense of aesthetic. Solving beautiful equations sounds better than trial and error to many. That being said, I do think there is beauty in crypto - just maybe not in the nonce guessing bit.

Re:The Merge by landemva on Saturday August 20, 2022 @11:55PM (#32537275)
Nice write up. I noticed a couple things you may want to consider.

>>> Money doesn't actually have to be a scarce thing, it just needs to be a trusty record of transactions

Physical cash or coin, exchanged between parties, is trusted by both parties yet leaves no transaction record.

>>> Money is simply any promise backed by trust

Credit is backed by trust.

A finalized and appended bitcoin block needs no further trust. It is settled.

Re:The Merge by tsimionescu on Sunday August 21, 2022 @04:43AM (#32538397)
> Physical cash or coin, exchanged between parties, is trusted by both parties yet leaves no transaction record.

The cash/coins are the record in this case: that was the point the GP was trying to make. But, they are not required for the transaction to take place: a trusted ledger also works.

> A finalized and appended bitcoin block needs no further trust. It is settled.

Of course it needs trust: you have to trust that Bitcoin is doing what it promises. Every time you sell something in exchange for bitcoin, you have to trust that:

- the network is working as advertised

- your client is working as advertised, it's not infected with some Malware to report the wrong info to you

- there is possibility of a 51% attack

Also, the latest finalized and appended block often changes. You actually have to wait until there are several other blocks appended after the one that contains your transaction until you can be sure the transaction won't be reverted.

Re:The Merge by mondoveneziano on Saturday August 20, 2022 @06:42PM (#32535807)
I was explaining in layman's terms.
Re:The Merge by khazhoux on Saturday August 20, 2022 @06:46PM (#32535831)
Layman’s explanation: POW works by solving a complex mathematical problem. :-)
Re:The Merge by pavlov on Saturday August 20, 2022 @07:03PM (#32535922)
It’s not the layman’s explanation because the average person doesn’t encounter mathematical problems being solved by a brute force lottery.

In high school math, problems are solved by choosing the right formula and plugging in the right variables. Throwing the dice trillions of times isn’t what people imagine when they hear “solving a complex mathematical problem.” That framing is designed to make PoW more acceptable to laypersons, as it sounds like the computation is useful or at least clever rather than intentionally designed to waste energy.

Re:The Merge by khazhoux on Saturday August 20, 2022 @07:31PM (#32536070)
The average person doesn’t encounter mathematical problems -- full stop. They have no reference point between one algorithm and the next.

Heck, I understand well how POW works, and even I think of it as solving a "complex mathematical problem"... the inherently difficult problem of prime factorization.

Anyways, potayto potahto.

Re:The Merge by bawolff on Saturday August 20, 2022 @10:27PM (#32536883)
> Heck, I understand well how POW works, and even I think of it as solving a "complex mathematical problem"... the inherently difficult problem of prime factorization.

???

Factoring is not a common problem for proof of work. In fact im not sure how you could even make that work in a way that ensures participants arent cheating.

Re:The Merge by khazhoux on Sunday August 21, 2022 @01:59AM (#32537768)
All cryptography exploits the inherent difficulty of factoring integers. POW requires brute force precisely because the underlying hashing algorithms are built around large primes.

This is, actually, how I layperson-explain cryptography: there’s no fast or easy way to take any huge number and know what two numbers mutiplied to make it, and this mathematical property is what makes (good) passwords hard to crack.

Re:The Merge by tsimionescu on Sunday August 21, 2022 @05:02AM (#32538487)
That is simply not how cryptographic hashes work. They have nothing to do with primes, and having a quick way to factor large numbers would do nothing to impact the security of the PoW part of Bitcoin (I believe it may affect the security of your wallet, though, but that is an entirely different attack).

Note that even being able to quickly reverse the hash function for Bitcoin wouldn't do anything to the PoW security.

The only thing that matters for PoW as implemented in Bitcoin is that there is no way to predict the value of the hash of a block + nonce faster than computing the hash. This doesn't rely on integer factorization difficulty in any way, it simply relies on a construction that uses many one-way functions.

Re:The Merge by bawolff on Sunday August 21, 2022 @02:03AM (#32537782)
This is very not true.

Only RSA is built around factoring. I suppose if you consider discrete log to also be factoring related, some other public key & key agreement algs are also.

Hash functions and symmetric algorithms are not based around factoring.

Re:The Merge by Banana699 on Saturday August 20, 2022 @07:49PM (#32536146)
Any person who thinks that a computer is going through symbolic formulas and selecting which one to substitute in to find a hash function nonce doesn't know a whole lot about what a blockchain fundamentally is and how computers make it possible. That's either the fault of the explanation they read\are reading (if it was falsely advertised) or the fault of the person (if they're biting on explanations beyond their level) or nobody's fault really because somewhat-hard concepts are somewhat-hard.

Any explanation of PoW worth its salt no matter how basic should - and does in my experience - repeatedly drive home the idea that PoW is inefficient, it's literally right there in the name, Proof of Work, jumping through hoops as an algorithm. If somebody doesn't understand that PoW is extraordinarily inefficient, they don't understand blockchains and why they are cryptographically secure modulo implementations and social engineering.

Nothing new is added or said by emphasising how inefficient PoW is, that's the entire point, that's why it's secure. The comment that started this chain basically said that in very simple terms, and the comment I replied to expressed disapproval about a very minor issue with the terms then re-said what its parent already said in more words that don't add any clarity.

Will people see 'mathematical' and assume the computer is integrating dy/dx by parts to get the next nonce ? You can assume that the average HN reader knows that when we say a computer is 'solving math' it's meant that it's crunching an aweful lot of binary strings. That's why we call classic AI "classic" or "symbolic". Everything a computer do is crunching numbers brute-force style except when said otherwise.

Re:The Merge by bawolff on Saturday August 20, 2022 @10:25PM (#32536865)
Why are we explaining in layman's terms on hacker news? Maybe i'm being pretensious, but surely we all know what sha256 is. Its used pretty constantly everywhere, long before bitcoin was a thing.
Re:The Merge by simonebrunozzi on Sunday August 21, 2022 @04:36PM (#32544133)
You're nitpicking. Poster was trying to explain things in a simple way.

Side question: what about your username? I live in Venezia and I'm curious now.

Re:The Merge by pixelbro on Monday August 22, 2022 @12:58AM (#32547545)
It's not nit-picking. A layman presented with this explanation might get the impression that a "problem" is being "solved", which implies there is some utility to the PoW algorithm, rather than energy being wasted for the sole purpose of proving that energy has been wasted. In fact, even the word "Work" in "Proof of Work" implies the same. Proof of Waste would be a much more apt description of what is actually happening.
Re:The Merge by rakoo on Saturday August 20, 2022 @05:57PM (#32535500)
Thanks for the explanation! I have a few questions:

- how does the punishment work ? Do all nodes see that a malicious actor changed the chain and write the bad ideas in some ledger meaning "these nodes just lost X ETH" ?

- But if the malicious actor owns 2/3 of validators, what does he care what other nodes do ? They effectively control what block is accepted

- is there an advantage to run more than one validator, if you have the money (EDIT: and you don't want to attack the network)? Basically, does having more money gives you more (power, control, anything) ?

Re:The Merge by WFHRenaissance on Saturday August 20, 2022 @06:59PM (#32535912)
1. Punishment mechanisms here are kind of complicated, but in short, you're punished for mainly 2 reasons: being an offline validator, or for an attestation violating.

Slashers are entities that enforce the two above rules. If a slasher determines that you're node is down, or that you're committing an attestation violation (i.e. that you're signing more than one attestation in a given epoch mainly). The slasher actually does not get rewarded here. The block proposer who takes the broadcasted slashing and and adds a proof of it to their block proposition, and get what's called a whistleblower reward. Slashing is not meant to profitable, and the whistleblower reward is quite small. We don't need a million slashers, in fact, we could operate with just one... expect the Eth Foundation to run them, among other large players who can spare the resources.

2. Owning 2/3 of nodes economically is kind of silly. You essentially just 51% the network, and everyone else leaves. You're then stuck with a worthless personal currency. Have fun!

3. More than one validator means more validator rewards, and a bit more "power" in that you're a larger component of the general validation network.

Re:The Merge by ww520 on Saturday August 20, 2022 @07:22PM (#32536020)
What are the checking mechanisms that 2/3 of the nodes are not colluding together? In other words how do you prove someone owning 51% or 2/3 of the network?
Re:The Merge by danuker on Saturday August 20, 2022 @07:36PM (#32536092)
Here you are asking the most important question.

Exchanges hold the most ETH. They are a central collusion point which could cause undue influence on the network.

At least it seems they do not own a lot of the existing Eth.

https://etherscan.io/accounts

Re:The Merge by randomran01234 on Saturday August 20, 2022 @09:57PM (#32536729)
Their actions would most likely be visible on the network because it is transparent. The community can then decide whether to activate a fork and punish the colluding nodes.
Re:The Merge by adrr on Saturday August 20, 2022 @10:37PM (#32536930)
Who is the community and how do they decide to fork(eg: is there a vote?)?
Re:The Merge by randomran01234 on Saturday August 20, 2022 @10:56PM (#32537018)
Users, developers, other stakers.
Re:The Merge by atherton33 on Sunday August 21, 2022 @07:13AM (#32539046)
Why would users and developers without stake get input? Doesn't that subvert the point of staking?
Re:The Merge by randomran01234 on Sunday August 21, 2022 @07:50AM (#32539259)
Users and the market decides on the chain, governance in Ethereum is based on social consensus not “one coin one vote.”
Re:The Merge by adrr on Sunday August 21, 2022 @08:15AM (#32539404)
I still don't understand how consensus works off the chain. If 51% of the stackers just decide to run their own software and do their own thing. How does something off chain change that? How does something off chain penalize a majority of staked ETH?
Re:The Merge by randomran01234 on Sunday August 21, 2022 @09:38AM (#32540072)
If the 51% is a single staker or small group of colluding stakers attacking the chain, the rest of the users will probably not want to continue using that chain. The users can activate a soft fork, just by changing the rules of the code to burn the attacker’s funds, and running the updated client software. The remaining honest stakers can then continue to follow the head of the non-attacked chain, and the attacker would be the only one left on their chain.
Re:The Merge by atherton33 on Sunday August 21, 2022 @09:01PM (#32546122)
If it's just off-chain social consensus that matters what purpose does the crypto even serve?
Re:The Merge by randomran01234 on Monday August 22, 2022 @11:51AM (#32553200)
Most crypto including Bitcoin is governed off-chain. People come to consensus on a set of rules that allows them to create a public and permissionless BFT ledger. Attacking the ledger then costs millions or billions of dollars. If one dishonest node or a group of colluding actors decide to spend this much to amass majority control of the network, the rest of the network can decide to fork the protocol to burn their staked capital.

The main goal of crypto - the base token and protocol rewards from PoW or PoS - is to secure this network and keep it permissionless and decentralized.

Re:The Merge by IncRnd on Saturday August 20, 2022 @09:07PM (#32536531)
> 1. Punishment mechanisms here are kind of complicated, but in short, you're punished for mainly 2 reasons: being an offline validator, or for an attestation violating.

A malicious actor can cause the network to slash a validator's funds by inhibiting the validator's connection. Slashing funds seems completely disproportionate for a validator being offline.

Re:The Merge by kybernetikos on Saturday August 20, 2022 @11:56PM (#32537281)
You actually lose a relatively small part of your stake for being offline, so it happens gradually. I believe the amount lost corresponds roughly to what you would have gained in rewards over the same time period.
Re:The Merge by rakoo on Sunday August 21, 2022 @01:35AM (#32537675)
Thanks for the reply !

1. So if I get it correctly, there is an actor in charge of surveiling the network. There is no financial incentive to do that which means only a few actors will be running a slasher, and thus completely remove all decentralization. Once a fraud has been detected, the proof of fraud is to be spread by nodes with a financial incentive, meaning they might spread whatever the slasher says like gospel, giving even more power to slashers.

This is a very large step away from decentralization. The network depends not just on a few coders, but also on an institution checking whether nodes behave correctly or not. The whole point of blockchain was that everyone would assume everyone was out to cheat, and came up with a way to make it useful.

2. As I said in another reply, I don't expect the most rationality and long-term thinking from economic actors anymore, especially in the world of cryptocurrencies. I could very well see a single actor owning that many nodes but still being trusted because "they're the good guys" and people remain. You would also have to be sure they are in fact colliding.

3. So, as I feared, this is capitalism in its crudest form. At least PoW made it indirect by putting requirements on the hardware, but here it's just plain naked for all to see.

I know I sound very negative but I was really curious to see how PoS really changed the dynamics compared to PoW, and now I know. Thanks again for your explanations.

Re:The Merge by bfung on Sunday August 21, 2022 @01:59AM (#32537769)
> This is a very large step away from decentralization. The network depends not just on a few coders, but also on an institution checking whether nodes behave correctly or not. The whole point of blockchain was that everyone would assume everyone was out to cheat, and came up with a way to make it useful.

Exactly. This is usually the tradeoff glossed over by PoS marketing, that decentralization is essentially lost and it's no different than government controlled currencies. Instead of the "elected officials", it's the crypto messiah's that control this currency. You can pay into it, just as you can try to pay into your local city, county, state, (assuming in the USA) etc...

Re:The Merge by pa7x1 on Sunday August 21, 2022 @04:04AM (#32538255)
There is no actor in charge of surveilling the network. Every validator is. And every validator is incentivized to do so because you get a reward coming from the slash penalty. So everyone is checking on everyone else.
Re:The Merge by rakoo on Sunday August 21, 2022 @04:09AM (#32538272)
Validators only add transactions to the ledger. What I was talking about is the slasher, which makes sure nodes are behaving correctly.
Re:The Merge by pa7x1 on Sunday August 21, 2022 @06:13AM (#32538796)
When a validator adds a block to the ledger it can include evidence of slashable offenses. Including evidence of a slashable offense gets rewarded so every validator is incentivized to include them.

Further reading: https://eth2book.info/altair/part2/incentives/slashing#the-v...

There is no separate notion of a slasher, everyone gets to provide slashing evidence when they build a block. I don't understand why you build such a weak straw-man and the push it forward as if it was the truth without even checking how the system operates.

Re:The Merge by rakoo on Sunday August 21, 2022 @12:50PM (#32541983)
The initial post talks about slashers as some special entities so I was talking about them
Re:The Merge by hjorthjort on Saturday August 20, 2022 @08:35PM (#32536353)
An important and often misunderstood point:

Having >2/3rds of validators (or >50% of power in PoW) let's you rewrite the chain back in history, censor txs, etc. You control what transactions go in blocks, and to a certain extent also recent history.

HOWEVER, this does not give you the power to steal or rewrite state as you please. You cannot convince the rest of the network that you now own someone else's ETH just because you have supermajority validator power. To take away ETH or change the cabin state in any other way, you need to include a valid and correctly signed transaction.

If you include an invalid state change (not caused by a successful and correct transaction) then all other nodes will reject that block, no matter how much validator power or hashing work went into it.

Re:The Merge by rakoo on Sunday August 21, 2022 @01:17AM (#32537596)
Well this is the same as any blockchain: you can't forge a block with a transaction giving yourself money, but you can double spend the same amount to multiple other accounts. Unless something is different with ETH which I don't know enough
Re:The Merge by cypress66 on Sunday August 21, 2022 @01:30AM (#32537649)
Double spends are actually much harder here, after slots are finalized (2 epochs, about 12 minutes) but yes it's the same as other blockchains.
Re:The Merge by entrep on Saturday August 20, 2022 @06:22PM (#32535667)
> - But if the malicious actor owns 2/3 of validators, what does he care what other nodes do ? They effectively control what block is accepted

As I understand it, anyone who owns that amount of ETH would probably be interested in contributing to the trust of the Ethereum blockchain.

Re:The Merge by falcolas on Saturday August 20, 2022 @06:34PM (#32535745)
What reason would anyone have to believe in their benevolence? It would be safer to believe in and use their greed and self preservation.
Re:The Merge by mastazi on Saturday August 20, 2022 @07:30PM (#32536063)
If you own a large amount of a currency, you want to ensure that the currency in question is trusted, or otherwise that currency would end up losing its value. It is your greed that is guiding you, not your benevolence.
Re:The Merge by troutwine on Saturday August 20, 2022 @09:12PM (#32536559)
Eh, I think it’s naive to believe that greed is sufficient protection. Owning a bunch of ETH so you can set ETH on fire would be a waste of money, only so long as the person setting the fire didn’t value the mischief more than the ETH. I don’t see why nation states wouldn’t attack each other by burning down the crypto assets of citizens, either.
Re:The Merge by mastazi on Monday August 22, 2022 @05:26AM (#32549195)
> I think it’s naive to believe that greed is sufficient protection.

I never said that, I actually agree with you. I was just explaining GP's point to parent who in my opinion missed it.

Re:The Merge by troutwine on Monday August 22, 2022 @01:34PM (#32554617)
Ah, apologies. I read you as agreeing with and clarifying GP's argument.
Re:The Merge by dmitriid on Sunday August 21, 2022 @03:31AM (#32538107)
> If you own a large amount of a currency,

you rug pull, divest into hard cash at peak, <any of the dozens of ways people with large amounts of cryptocurrencies get rid of those>

Re:The Merge by falcolas on Saturday August 20, 2022 @09:22PM (#32536586)
One problem with this - speculative assets are at least partially valuable because of their volatility - their ability to appreciate quickly. Even if eth is untrusted for long term value, so long as it has the potential to make money for someone in the short term it's going to continue to get transactions.

And, as always, sometimes folks just want to watch the world burn. It's a relatively low investment (~$50k) to become a validator, and the fine's only about $7k (.5 eth).

Imagine the damage someone with a few million (say, some baby-boomer who just sold their California duplex) could do if they wanted to.

Re:The Merge by lottin on Sunday August 21, 2022 @03:39AM (#32538137)
Google short selling.
Re:The Merge by mastazi on Sunday August 21, 2022 @11:11PM (#32546894)
thanks, I work at a financial institution, so I "Googled" it a few times, short selling is based on borrowing the underlying securities - not owning them - or alternatively owning a(n often bespoke) derivative, related to those securities, which behaves as a short.

If you own a security you are long, not short.

Re:The Merge by johnthewise on Sunday August 21, 2022 @05:10AM (#32538526)
If you hold eth, you are long eth.
Re:The Merge by lottin on Sunday August 21, 2022 @07:14AM (#32539055)
Not really, you can be long in one market, and short in the derivatives market, and your net position be short. You'd be holding eth, but you'd be short.
Re:The Merge by mastazi on Monday August 22, 2022 @04:16AM (#32548695)
not really, in that case you have two separate positions, one long and one short.
Re:The Merge by lottin on Tuesday August 23, 2022 @01:58PM (#32568625)
If you make money when the price goes down then your overall position is short.

The point is that it can be profitable to crash the price even though you're holding the asset at the same time.

Re:The Merge by mastazi on Tuesday August 23, 2022 @07:19PM (#32572873)
> it can be profitable to crash the price even though you're holding the asset at the same time.

in that case, the less you hold the more profitable it is. I'm not sure I get your point...

Re:The Merge by lottin on Tuesday August 23, 2022 @08:22PM (#32573441)
The point is that your assumption

> If you own a large amount of a currency, you want to ensure that the currency in question is trusted, or otherwise that currency would end up losing its value.

is fundamentally flawed. You can own a large amount of a currency and profit from it losing its value.

Re:The Merge by mastazi on Wednesday August 24, 2022 @07:35AM (#32577972)
OK, now I see what you mean, yes I agree with you then. But I think you are trying to generalise my comment - it wasn't an absolute statement, I was just trying to tell parent that in my opinion they misunderstood the grandparent's point.
Re:The Merge by WFHRenaissance on Saturday August 20, 2022 @06:41PM (#32535795)
No one would use a network with this level of centralization, or at least, it would be unwise to.
Re:The Merge by cowtools on Saturday August 20, 2022 @10:00PM (#32536751)
like a 51% attack on a PoW through pool conspiracy, it will be impossible to tell if (when?) the network is controlled by a single entity.

By the time the public has figured out the plot, it's too late: the attacker has already run to the exchanges with double-spent coins.

Re:The Merge by rakoo on Sunday August 21, 2022 @01:19AM (#32537607)
Call me a pessimist, but I have stopped assuming rationality of all actors acting to secure a long-term future, especially in the world of cryptocurrencies
Re:The Merge by pclmulqdq on Sunday August 21, 2022 @08:36AM (#32539537)
PoW is magical in that these actors are strongly incentivized to secure the network. PoS is not the same.
Re:The Merge by rakoo on Sunday August 21, 2022 @12:59PM (#32542075)
This was the whole point of blockchains. No one trusts anyone, everyone is in it for themselves only. The Adam Smith model. And it works, if you don't loom at the disastrous environmental impact.
Re:The Merge by ww520 on Saturday August 20, 2022 @07:24PM (#32536028)
Fund can be borrowed. As attested in last the couple months, billions of funds were borrowed to bet on the market one way or the other. Borrowing a billion dollars to subvert the network for a short duration sounds like a feasible strategy.
Re:The Merge by stepanhruda on Saturday August 20, 2022 @07:39PM (#32536107)
You can’t borrow enough money and immediately take over the network. Those funds need to be staked first in validators with 32 ETH each and you need to control enough validators to control consensus. It’s more difficult than PoW in a way since you can’t just start validating, there is an entry/exit queue.
Re:The Merge by lottin on Sunday August 21, 2022 @03:41AM (#32538153)
This isn't argument against PoS, because mining rigs can also be borrowed. Anything can be borrowed.
Re:The Merge by boosteri on Saturday August 20, 2022 @06:59PM (#32535913)
Why would it need to be a significant amount of ETH? Could someone coordinate an attack on validator nodes, making themselves 67%+ temporarily?
Re:The Merge by stepanhruda on Saturday August 20, 2022 @07:50PM (#32536154)
Yes. That’s why diversity of client implementations is important.
Re:The Merge by yunohn on Saturday August 20, 2022 @06:32PM (#32535724)
Sure, but that wasn’t the question. How does the punishment play out, assuming they’re acting in bad faith?
Re:The Merge by rglullis on Saturday August 20, 2022 @06:40PM (#32535789)
If you have 2/3 of the validators, there is no way that you can be punished. You will effectively be able to produce the blocks and tell the network that they are valid.

If you don't have that, the most that you can do is to attack the network by proposing bad blocks to slow down block production. Anytime that a (selected) validator proposes a bad block, the other validators that catch your mistake will snitch on you (through attestations) and the validator will get their stake funds slashed. The more your funds are slashed, the less of a chance you will have to be proposing new blocks in the future.

Re:The Merge by miohtama on Saturday August 20, 2022 @07:53PM (#32536164)
You can find more details on slashing and penalties in the Validator FAQ:

https://launchpad.ethereum.org/en/faq

Re:The Merge by rakoo on Sunday August 21, 2022 @01:15AM (#32537590)
Wow thanks a lot !
Re:The Merge by rvz on Saturday August 20, 2022 @07:45PM (#32536131)
One question:

How is Ethereum going to comply with looming regulations in the cryptocurrency industry with proof-of-stake when regulators and enforcement agencies such as the OFAC could instruct validators to not mine or process transactions that have come from Ethereum mixers like Tornado.cash or sanctioned addresses and stay as a permissionless network at the same time?

If they do comply and enough validators start censoring these transactions, then it no longer is a permissionless network and just censors transactions like any other permissioned network does. If not enough validators censor or comply with these regulations, the funds in those validators will be slashed and may cause a cascade of lost funds and will also allow the processing of transactions from sanctioned addresses. i.e non-compliance and angering the regulators.

The energy problem is most definitely solved. But from a regulatory point of view, it appears that the Merge will introduce another can of worms and will make Ethereum eventually a more permissioned network with proof-of-stake.

Re:The Merge by miohtama on Saturday August 20, 2022 @08:01PM (#32536219)
Validator can only decide transactions for its own block. This is the same as a miner currently.

- Some US based miners are already not including Tornado Cash transactions in their block

- These transactions are included in the blocks mined by the other miners

- Base layer censorship is not likely, because there have sanctioned Bitcoin and Ethereum addresses since 2018

- Getting the required 2/3 validators on the board might be difficult, becaused there is a huge backslash from the community against this and this could lead to another TheDAO hard fork like event and just having your validators slashed by the users / DoS etc.

The base layer neutrality make senses. Web browsers don’t censor the DNS addresses you can access either.

Re:The Merge by jules-jules on Sunday August 21, 2022 @04:49AM (#32538430)
>Most estimates put the expected energy savings from the switch to PoS to be around 99%

It's actually closer to 99.95% [1] which is significantly less than a 99% reduction.

[1] https://twitter.com/0xstark/status/1457823831360368640

Re:The Merge by sph on Tuesday August 23, 2022 @07:44AM (#32563378)
*significantly more

99.95% reduction in power usage is more than 99% reduction.

Re:The Merge by aagha on Sunday August 21, 2022 @02:31PM (#32543022)
Great summary. Thanks.

A more in-depth explanation can be found here:

https://arstechnica.com/tech-policy/2022/08/the-merge-the-bi...

Re:The Merge by uncletammy on Saturday August 20, 2022 @06:33PM (#32535728)
Care to objectively articulate the arguments against switching to proof-of-stake? Why is it controversial?
Re:The Merge by rglullis on Saturday August 20, 2022 @06:55PM (#32535885)
It's only controversial in the minds of purists/"maximalists" who are too invested in BTC. Their arguments would be something like:

- PoS is not "decentralized" nor "democratic", because it means that only those with capital can participate in the network consensus building. This is "technically correct", but (a) it ignores that existing PoW also require massive amounts of capital to deploy mining facilities and (b) it is not democratic because only those with access to cheap electricity will profit from being a miner.

- PoS implies that those staking their crypto are "investing" with their tokens, which would make the token a "security" and not a "currency". This distinction could make it easy for the SEC and governments to intervene and create regulation that would require stakers to only participate if they implement changes at the protocol level. E.g, it could happen that a staker would reject to validate any block containing transactions to smart contracts that got sanctioned. This is a more real concern, if you think about all the big players (read, centralized exchanges) who are staking ETH on behalf of their customers and therefore will have non-negligible control over the network. In this case, the community expectation is that (a) users of staked ETH pull out of the exchanges and run their own validators and (b) the exchanges realize that they will be shooting themselves in the foot, and therefore go on to fight whatever legislation that pushes on that type of control/censorship at the protocol level.

Re:The Merge by swznd on Sunday August 21, 2022 @02:03AM (#32537783)
In PoS the rich can become validator as long as they have money. The limit is money.

In PoW, they can’t buy gpu as long as they have money, because there is another limit that money can’t always buy, energy, resources, needs (gpu for gamers, researchers, etc)

Re:The Merge by Sargos on Sunday August 21, 2022 @02:31AM (#32537888)
> In PoS the rich can become validator as long as they have money. The limit is money.

> In PoW, they can’t buy gpu as long as they have money, because there is another limit that money can’t always buy, energy, resources, needs (gpu for gamers, researchers, etc)

Just to elaborate, the implications of this are that PoW has an extra layer of centralization that threatens the network as ASICs/GPUs are only produced by less than a dozen companies and they can pick and choose who gets what kind of hardware and when (including keeping the best for themselves). This ensures that mining cannot be a level playing field and economies of scale will take over long term. This is even ignoring the massive corruption in the energy markets.

On the other hand PoS only requires one resource which nobody has a monopoly on so anyone can stake with nearly zero overhead. It's a level playing field regardless of size or political connections which allows for a much greater distribution of actors.

Re:The Merge by elif on Saturday August 20, 2022 @07:32PM (#32536075)
A common criticism without an obvious rebuke is that by design, the rich get richer.

IMO it's preferable to 'the ones with lucrative energy contracts get richer' but obviously not desirable.

Re:The Merge by sph on Tuesday August 23, 2022 @07:50AM (#32563430)
You think that, given the choice between these two options, "the rich get richer" is preferable to "the ones that can get cheap energy get richer"? Alright. I don't.

In the first case, you perpetuate the status quo. With the second, miner's greed indirectly helps humanity find cheaper and more available sources of energy, benefiting all. Because Bitcoin or not, as humanity gets more and more advanced, it will need more and more energy. So energy generation is the bottleneck that needs optimisation.

I don't see how creating the world's first trillionaire is positive in any way.

Re:The Merge by thesausageking on Saturday August 20, 2022 @09:22PM (#32536587)
PoS is less proven than PoW and has some edges cases that give many concerns. To say this up front, I own ETH, have worked on dapps on it, and completely supprt the move to PoS.

That said, the fact that PoW has been running the longest and Bitcoin uses it to secure the most value of any chain and it has had 100% uptime for the last 9.5 years, means people naturally trust it more.

PoS also in theory incentivizes centralization of staking over time. It's already started to play out this way way with the top two stakers controlling 46% of the staked ETH on the Beacon Chain. With Bitcoin, because you constantly have to buy new hardware and find cheap energy every single block, there's been a constant rise and fall of large miners.

A related issue is that it's more fragile to government censorship as the Tornado Cash OFAC sanctions show. Bitcoin has had mixers sanctioned and it didn't affect the core chain at all. With Tornado Cash, it's possible that Coinbase and other US-based stakers will have to not validate certain transactions, which doesn’t work in PoS, so they've said they will stop staking if the US gov't decides OFAC applies to stakers (which there's a legal argument it does). It's a bit in the weeds, but basically Bitcoin/PoW works in a fundamentally different way, so miners can filter out transactions they legally aren't allow to process and all that happens is those transactions get validated in a future block by other miners.

One other is that PoS has no deterministic way to recover from a complete outage. If a huge EMP brought down every computer network on Earth, when they come back online, PoW has a clear rule for determining which chain is the real one. PoS does not, so it's unclear what would happen. This may seem like a small edge case, and it is, but trust and security are so important when $500B and growing is at stake that tiny edge cases matter.

Re:The Merge by landemva on Sunday August 21, 2022 @12:09AM (#32537340)
> 100% uptime for the last 9.5 years

While correct, that conveniently omits the downtime in 2010 and 2013. Why be shady?

Edit: three nines is considerably different than infinite nines. Around 2018 there was an inflation bug which was kept quiet until it was patched. It's human to have an occasional bug. Setting the bar too high may be a dis-service if/when there is an exploit.

Re:The Merge by thesausageking on Sunday August 21, 2022 @12:34AM (#32537442)
What? How is that shady?

It had 99.98% uptime since launched and 100% since 2013. That’s one of the most reliable software projects ever created in history.

Re:The Merge by Shaanie on Sunday August 21, 2022 @05:36AM (#32538636)
It's shady because you're cherry picking the dates. Why not say 99.98% uptime since launch from the start?
Re:The Merge by ahtihn on Sunday August 21, 2022 @05:28AM (#32538601)
> so miners can filter out transactions they legally aren't allow to process and all that happens is those transactions get validated in a future block by other miners.

You could fairly easily argue that building on a chain that includes sanctioned transactions is also "processing" them. Therefore miners would need to fork the chain to remain in the clear legally or just stop mining altogether.

Re:The Merge by thesausageking on Sunday August 21, 2022 @05:26PM (#32544621)
That doesn't make sense legally and regulators have given their blessing to the approach for Bitcoin I mentioned.

I personally think even going after stakers is a bridge too far, but in that case the staker is profiting off of the illegal transaction and they're also directly participating in processing it.

Re:The Merge by ahtihn on Wednesday August 24, 2022 @05:45AM (#32577105)
> That doesn't make sense legally and regulators have given their blessing to the approach for Bitcoin I mentioned.

They have? Regulators have made an explicit statement on this? Can you link to it?

Re:The Merge by WFHRenaissance on Saturday August 20, 2022 @07:01PM (#32535917)
It definitely takes a bit of power away from miners, and it adds a bit of complication to the overall consensus mechanism of the chain.
Re:The Merge by irusensei on Sunday August 21, 2022 @04:11AM (#32538285)
It takes power away from miners and give it to exchanges because people wont bother running nodes and just use the staking platform on coinbase, binance or wathever. Now you have it: the same entity that controls in and out ramps now controls validation.
Re:The Merge by thesz on Sunday August 21, 2022 @04:25AM (#32538337)
You mentioned only the rewrite of history, but there is at least one other attack on a network - a coordinated refusal of blocks with transaction(s) attacker deem ungood. This way, some person(s) will be denied the right to transact.

A direct way to do that is to vote NO for such blocks. Does PoS protocol of yours require the NO vote to have reasons for that decision? It can be analyzed and having wrong NO reasons may be a reason to punish validator.

An indirect way to do that attack is to timeout on unwanted blocks. E.g., if a malicious validator sees a block it does not want, it will stop sending any messages at all until it sees next block or has an opportunity to be a proposer. How PoS protocol of yours handle such attack?

Re:The Merge by steve_taylor on Sunday August 21, 2022 @05:44AM (#32538668)
Going by that description (I'm otherwise a n00b), my guess is that only a fraction of validator slots would be active, which means the network could be easily hijacked by a well-funded party who just wants to see the network burn (e.g. central bank of a superpower).

Another possible weakness could occur if staking is mostly outsourced (i.e. staking as a service) and one provider overwhelmingly dominates the market. That provider would be in a position to hijack the network without having much of a stake in it. Proof of stake doesn't really live up to its name if the validation nodes aren't run by validation slot owners.

Re:The Merge by WFHRenaissance on Sunday August 21, 2022 @06:44AM (#32538919)
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). They could then use their own attestations to ensure their preferred fork was the one with the most accumulated attestations. The 'weight' of accumulated attestations is what consensus clients use to determine the correct chain, so this attacker would be able to make their fork the canonical one. However, a strength of proof-of-stake over proof-of-work is that the community has flexibility in mounting a counter-attack. For example, the honest validators could decide to keep building on the minority chain and ignore the attacker's fork while encouraging apps, exchanges, and pools to do the same. They could also decide to forcibly remove the attacker from the network and destroy their staked ether. These are strong economic defenses against a 51% attack.

Staking-as-a-service will operate as a market of diverse options. The network could decide to fork from an outsized dishonest market participant. It would be controversial, but the validity of the network is generally a common incentive for most involved.

Re:The Merge by nr2x on Saturday August 20, 2022 @07:06PM (#32535940)
What is the reward in PoS? Like, is it worthwhile for me to buy 32 ETH? Do I get more ETH for being a node?
Re:The Merge by miohtama on Saturday August 20, 2022 @07:56PM (#32536186)
More about staking rewards and calculators can be found at the Validator FAQ:

https://launchpad.ethereum.org/en/faq

Re:The Merge by alchemist1e9 on Saturday August 20, 2022 @06:06PM (#32535570)
> If you deposit more than 32 ETH, you will be assigned multiple "validator slots" by the protocol, but you will still be able to run them from a single computer, though hardware requirements go up the more you stake.

Is there a good place to read more about this hardware requirements as a function of validator slots? A concern in my mind with PoS is what is the incentive to expand the physical hardware footprint of the network. I understand this implies more energy usage, however it is a requirement for a decentralized, distributed, and resilient system, otherwise it can very easily be physically attacked if the footprint becomes overly concentrated with a few very powerful nodes.

Unless the hardware requirements are a convex function of total staked then if me and you both want to stake we will see the hardware and network/bandwidth costs as something we could share, which if everyone calculates the same, the network will physically shrink.

Re:The Merge by pa7x1 on Saturday August 20, 2022 @06:56PM (#32535887)
The HW requirements increase very very minimally.

See this response on reddit: https://www.reddit.com/r/ethstaker/comments/nk9qzt/multiple_...

Re:The Merge by alchemist1e9 on Saturday August 20, 2022 @07:27PM (#32536052)
Do you see the same issue I see? I don’t understand why they aren’t concerned about it.
Re:The Merge by DennisP on Saturday August 20, 2022 @08:22PM (#32536302)
The hardware expense per node is very minor compared to the cost of 32 ETH, so it's a weak incentive to consolidate.

Weighed against that, the slashing penalties per node increase, the more nodes fail at once. That gives an economic incentive to decentralize.

Re:The Merge by nuclearnice1 on Saturday August 20, 2022 @08:15PM (#32536277)
The validators have staked 32 ETH to the network. If they stay up, they get rewards. If they go down, they get hit with penalties. This incentivizes building a reliable system.

Is it sufficient? I’m not sure.

Re:The Merge by landemva on Sunday August 21, 2022 @12:14AM (#32537358)
> if everyone calculates the same, the network will physically shrink.

Are you asking why it won't consolidate on AWS?

Penalties for offline validators are greater if many validators go offline for similar timeframe.

Re:The Merge by solarkraft on Sunday August 21, 2022 @05:59AM (#32538739)
> Should a malicious actor try to tamper with the underlying protocol by using a large number of validators to revert a finalized block (the equivalent of a "51% attack" in PoW) their funds are slashed

But can't the malicious actor estimate very well whether their attack will succeed beforehand?

Re:The Merge by mypastself on Sunday August 21, 2022 @03:31AM (#32538106)
I’ll just paste my questions from below:

Can someone clarify the point about expected price action changes for ETH/USD and other pairs?

Presumably the author believes a smaller proportion of Ether will be regularly traded than on the PoW system, but will the total staked (i.e. held) amount be sufficient to impact prices significantly? Also, why would we expect stakers to not take their profits on a regular basis? (Note: another commenter pointed out unstaking won’t be possible for the time being. That does answer the question for the short-term).

What’s the meaning (and reasoning behind) the following statement:

> Ethereum will move from a system that has roughly $20mm a day of structural outflows to a system that has roughly a half a million dollars a day of structural inflows.

Re:The Merge by akelly on Sunday August 21, 2022 @03:51AM (#32538207)
Today there is $20mm a day of ETH being printed and given to miners, most of which is sold immediately to pay their operating costs. After the merge there will be only $0.5mm a day being printed and given to stakers. Plus the money printed will go to people who are ETH holders, and are therefore less likely to sell.
Re:The Merge by mypastself on Sunday August 21, 2022 @04:10AM (#32538278)
That makes sense, but why are they labelled as “structural outflows and inflows”, respectively, if both amounts are referring to, as you put it, “ETH being printed and given to” miners/validators?

Perhaps it’s referring to the ratio of Ether being supplied on a daily basis compared to its total supply?

So in summary:

With PoW, each day fresh $20M is created and sold, which increases the ratio of traded Ether compared to its total amount (“outflow” from held ratio).

With PoS, each day fresh $0.5M is created and held, which decreases the ratio of traded Ether compared to its total amount (“inflow”).

Do I have this right? That does still leave the question of whether this daily ratio change will be sufficient to impact prices significantly.

Re:The Merge by wavefunction on Saturday August 20, 2022 @05:49PM (#32535433)
I am sure staking pools will be available to people with less than 32 ETH
Re:The Merge by fullsend on Saturday August 20, 2022 @05:54PM (#32535481)
They already are. The Merge refers to the fact that the PoS chain has been running parallel to the main chain for one year now. It has been thoroughly tested live and so now will be merged back into the main chain like a branch of a git repo.
Re:The Merge by p4bl0 on Saturday August 20, 2022 @06:01PM (#32535539)
How can two chains be merged if one is a fork of the other without having instances of double spending? With source code in Git you can manually pick which version of each line you want in the merged result, but here it's not possible to do that if services or merch have been exchanged with coins. Except if you're fine with having to deal forever with coins and merged-from-the-fork coins on the eth blockchain?
Re:The Merge by mcmeowerson on Saturday August 20, 2022 @06:24PM (#32535680)
As far as I understand it both forks have the same ledger, its only the transaction validation method thats changing. The PoS fork is mirroring all of the PoW transactions so no double spending or extra coins.
Re:The Merge by DennisP on Saturday August 20, 2022 @08:30PM (#32536334)
Transactions and state are only on the PoW chain. The PoS chain only runs the staking protocol.

When the merge happens, the PoW software (the "execution client") will keep running transactions, but instead of choosing blocks by looking at miner hashes, it will look to the beacon chain to choose them. So stakers will run both the PoS client, and the execution client with the mining function turned off.

Re:The Merge by alchemist1e9 on Saturday August 20, 2022 @11:39PM (#32537205)
PoW software that does no work? More likely Ethereum is about to fork and big question will be does the market value of ETHpow really go to zero quickly.
Re:The Merge by betwixthewires on Sunday August 21, 2022 @06:48AM (#32538935)
I'm willing to bet it does. Well, probably never to 0, but close enough.

There's just too many escape valves. If you're a miner, you don't care about what network you're mining, you care about getting the most profit out of your hardware. There are several EVM PoW chains that are established, have been around and are listed and traded somewhere already, and have functioning contracts in them, and beyond that there are other non EVM PoW chains to direct your hardware at if you're running GPUs. It just doesn't make sense for a miner to take the risk of backing a new chain over moving their hash power over to an existing one.

Re:The Merge by DennisP on Sunday August 21, 2022 @07:27AM (#32539137)
It will be the "execution client." It will still run the transactions, it just won't pick the blocks.

At some point I'm sure they'll remove the legacy mining code, I just don't know whether they've done it yet.

Re:The Merge by elif on Saturday August 20, 2022 @07:48PM (#32536142)
ETH 'on the beacon chain' today is locked in a contract.
Re:The Merge by moralestapia on Saturday August 20, 2022 @11:29PM (#32537161)
>It has been thoroughly tested live ...

Yes, definitely, and I'm sure all malicious actors made sure to disclose their exploits before it goes live, right? :)

Re:The Merge by miohtama on Saturday August 20, 2022 @08:03PM (#32536225)
I have been using Stakewise.io that is 1) somewhat decentralised 2) gives liquididy for your stake and ability to sell it (instead of waiting for the exit / pause which is not yet supported by the protocol)

https://stakewise.io/

Note that the current Ethereum consensus protocol does not support 100% decentralised staking pools yet.

Re:The Merge by dsimmons on Saturday August 20, 2022 @05:59PM (#32535519)
Some of the better known ones are Lido and RocketPool.
Re:The Merge by 1123581321 on Saturday August 20, 2022 @05:52PM (#32535462)
They are, and there seems to be a drive by legitimate actors to build them up. For example, Coinbase is building theirs by offering up to $50 ($10 every $100 worth) in exchange for initial staking of Eth.
Re:The Merge by ComodoHacker on Sunday August 21, 2022 @03:35AM (#32538121)
> Any relatively recent consumer hardware should be capable of running the software required to operate a 32 ETH staking node.

What about storage requirements? How long before you need a dedicated NAS to operate a node?

Re:The Merge by null0pointer on Saturday August 20, 2022 @10:47PM (#32536978)
What happens in the case of a network partition? I assume the conflict resolution algorithm is longest chain but would all the validators from the shorter chain partition get punished for being offline?
Re:The Merge by baby on Sunday August 21, 2022 @05:50AM (#32538699)
I wouldn’t call proof of work secure btw. Malicious Reorgs have happened in many chains, including ethereum, whereas I’m not aware of any malicious reorgs in PoS chains.
Re:The Merge by SilasX on Saturday August 20, 2022 @08:00PM (#32536213)
What happens if most validators become non-responsive without unstaking? The network can’t create new blocks then?
Re:The Merge by DennisP on Saturday August 20, 2022 @09:05PM (#32536516)
The network would still create new blocks but wouldn't finalize them. Finalizing means they can't be undone without destroying a large percentage of the stake. Without finalization, you still reach a point where it's very unlikely that the block will be undone.

The non-responsive stakers would gradually lose their stake. The penalty for going offline is normally small, but if most validators go offline at once it's considerably larger. Their stake will shrink, until they don't hold most of the stake anymore and the network can start finalizing again.

Re:The Merge by ChadNauseam on Sunday August 21, 2022 @01:30AM (#32537650)
Finalized blocks can never be undone, it’s forbidden by the protocol. Once your client sees that a block is finalized, it will never revert it.

(This makes the network a bit subjective, so hopefully it’ll come up rarely)

Re:The Merge by sprkwd on Saturday August 20, 2022 @06:44PM (#32535817)
I’m literally an idiot. Make this sense for me.
Re:The Merge by tootie on Saturday August 20, 2022 @09:08PM (#32536539)
You're not an idiot. It's extremely obtuse and only makes sense to insiders. It's orders of magnitude more obscure than how fractional reserve banking works and understood by far fewer people.
Re:The Merge by randomran01234 on Saturday August 20, 2022 @10:02PM (#32536758)
It takes time to learn but it isn’t obtuse. It’s extensively documented, with multiple open source clients being built in tandem. Besides, it is not the only PoS system running today.

All fields of engineering are complex to those that have an not studied them.

Re:The Merge by tootie on Saturday August 20, 2022 @10:34PM (#32536918)
The mechanics aren't extremely complicated but they also make no sense. Proof of work or proof of stake are both solving an abstract and meaningless problem. Crypto makes more sense if you study psychology than engineering.
Re:The Merge by ChadNauseam on Sunday August 21, 2022 @01:31AM (#32537657)
Permissionless BFT consensus is definitely an engineering problem
Re:The Merge by mattwilsonn888 on Saturday August 20, 2022 @10:37PM (#32536928)
Only when explaining to laymen can you make PoS, and Ethereum's implementation of it, sound reasonable, open and secure.
Re:The Merge by WFHRenaissance on Saturday August 20, 2022 @11:21PM (#32537124)
Yeah I veiled a lot of complexity for sure, but honestly that's for the best. If we talked too in-depth about the implementation of most protocols, I'm sure we'd find something to scoff about XD.
Re:The Merge by mattwilsonn888 on Sunday August 21, 2022 @02:36AM (#32537909)
I think its for the worst that most people would rather gloss over the fundamental flaws in Bitcoin, Ethereum and most other chains. They are significant and important.
Re:The Merge by betwixthewires on Sunday August 21, 2022 @06:49AM (#32538939)
If they're important why did you just gloss over them? What are they?
Re:The Merge by WFHRenaissance on Monday August 22, 2022 @09:37AM (#32551174)
Name one