by max_ · 5y ago · 0 comments
I don't think anything else can solve decentralized rate limiting more effectively than proof of work.
I wrote a short blog post about the use of Proof of work beyond crypto mining [0]
When you use "but" it's customary for the following statement to disprove or argue against the previous statement. How does it being applicable to more stuff stop it from being a gigantic waste of energy?
No, it's very much not besides the point - and I'd argue it's one of the core issues with PoW and the reason why people are so appalled by it.
Yes, everything expends energy, but the special property of PoW is that the energy cost is intentional. Therefore it's fundamentally impossible to reduce the energy cost as that would defeat the whole point: If someone manages to find a more efficient way to mine, this is a threat to the network and has to be counteracted by raising the difficulty. Conversely, the amount of energy that can be expended for mining a single block is potentially unbounded, in contrast to other problems ehere the energy actually perform useful work.
This leaves belief whether or not the problem is worth pursuing as the only measure about the energy cost of PoW. And this belief is influenced by all kinds of factors from technical to financial to psychological. But it is generally not influenced by the amount of energy already spent.
Energy consumption is not fundamental in any way. Proof of work depends only in the consumption of some resource that has economic value. It doesn't have to require any energy at all.
For example, Chia had a proof of work mechanism that uses disk storage instead of computation. It uses comparably very little energy and the difficulty is not substantially sensitive to energy efficiency because the cost is dominated by space rather than computation.
There are other examples that attempt to use things like spatially distributed network bandwidth as a resource. I'm not a fan of most of these, but the point is that energy is not fundamental.
Nuclear and fossil fuels are similar, but the timescales involved there are far too long for humans. Ie burning coal does have negative side effects because we aren't creating new coal from the carbon in the atmosphere at comparable rates.
Is taking more energy than Argentina really worthwhile for the few that uses cryptos?
If the problem is the pollution produced by power generation, then it's disingenuous to single out crypto for criticism. We really should be enforcing accountability and forcing markets to price in the negative externalities. Carbon capture and other technologies are surfacing to allow for that, and within a decade or so we should see widespread implementation. Legislation will arise out of the consensus of voters and mate technology and regulation.
If the problem is that you think crypto is frivolous or implicitly a waste of resources?
"Well, that's just, like, your opinion, man..."
And Proof of Waste is about more than it's impact on the environment through it's egregious energy use. Even in places that use clean energy, Bitcoin mining is putting a strain on the grid. (I suspect mining had something to do with Texas' grid problems last winter.) Even if you're harnessing off grid energy, you're a leech sucking value out of the economy by being a major contributor to the chip/GPU shortage.
And for what? All to contribute to a system that has greater wealth inequality than the existing financial system. Brilliant stuff.
Would bitcoin mining be better if it would use clean energy? I think you really are mixing two things here: energy production (that can be “good” or “bad” from ethical or evological perspective) and energy consumption that cannot be bad, just inefficient in terms of the return in business value (but it’s for the owners or customers to calculate, not bystanders to judge).
Imo mixing two is a massive fallacy.
Edit: typos.
"Applicable" means that it is useful, as it solves the problems I talk about in the post.
I.e. the basic purpose of PoW is security: Allow desirable actors in, keep malicious actors out. But this implies that "ability to put in more work" is actually a working way to distinguish good actors from bad actors. This is true in very specific cases, like blockchains - but I believe in most cases, this is actually not given, such as emails.
E.g., suppose we're using PoW to secure email: We do away with SPIF and all that and simply require each email to contain some hash that a sender had to bruteforce (just an example: use whatever PoW scheme you want).
If the scheme has a fixed difficulty, spammers can easily defeat it - they just have to rent (or capture) more machines. So you have to dynamically adjust the difficulty to meet some message/time unit quota. Congrats, suddenly the whole network is limitited to some maximum throughput. Alternatively, you can have separate difficulties for each user - but then, you need a way to track individual users, compute individual difficulties, etc. All of this needs some centralized entity again and agents that enforce the rules. If you have all that, why not use traditional rate limit and forgo the energy (or resource) waste?
https://eprint.iacr.org/2021/1379
It provides a Proof-of-Useful-Work algorithm that is resistant to pre-computation and most other weaknesses that would otherwise prevent useful work from being done while achieving Nakamoto Consensus while at the same time managing to convert ~50% of the computation spent into useful work. Additionally the work being done is pretty generally useful and is applicable to a lot of different problems.
I think the space is starting to reach a point of academic maturity and formalisation of the tech stack such that we can start meaningfully trying to solve these types of problems.
Have you heard of Rate Limiting Nullifiers?
https://github.com/vacp2p/research/blob/master/rln-research/...
I'd be curious to hear more about decentralized rate limiting. That sounds like a reasonable problem to solve with PoW. Although it also sounds like a problem I can solve pretty easily today without PoW so idk.
https://eprint.iacr.org/2021/1379
It gets about 50% efficiency compared to the current state of the art for the problem space without compromising any of the security properties that make for a good PoW algorithm. Generally I'm not a fan of PoW and prefer internal resource based consensus algorithms but PoUW algorithms seem rather interesting. I think we are reaching a point of maturity in the space that'll allow these types of self-securing service marketplaces (which really is what PoUW is) to reach their logical conclusion.
But there aren't many things it solves well. The easiest and most economical solution to "decentralizing rate limiting" is usually centralizing something.
It needs to always be expensive or the system is vulnerable to a sudden burst of new and malicious workers.