Pages:
Author

Topic: [Megathread] The long-known PoW vs. PoS debate - page 13. (Read 3828 times)

copper member
Activity: 903
Merit: 2248
Quote
So you are proposing that PoW algo be changed to something that can only run on CPUs as a way to spread out mining and the energy usage.
Doubtful the ASIC miners would agree.
Not at all. I thought about solo mining a fraction of the block reward without trusting centralized mining pools. ASIC miners could agree to that, because they would get more satoshis than their competitors mining on their CPU's. The algorithm should be left as it is, as long as it is not broken. The only problem is splitting the coinbase transaction to move from a "winner-takes-all" to "miners-take-shares" system.
legendary
Activity: 2898
Merit: 1823
I’m the stupid one in the forum, but from learning, listening, and reading what the smart people say and write in interviews or technical papers, their description of Proof of Stake drew this picture in my mind.  



Another image in my mind is a cat chasing its own tail.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
With PoW, a miner needs to make an investment in mining equipment for to mine the cryptocurrency. If that equipment cannot be used to mine that cryptocurrency, there is no other way for the equipment to create value for its owner. If the miners as a whole were to act badly, the mining algorithm could be changed, and the mining equipment would become worthless.

Similarly, with PoS, a miner must "lock up" their coin in order to receive mining rewards. This is similar to a miner buying a miner, except without the mining manufacturer. If a PoS "miner" were to produce invalid blocks, their "locked up" stake would be lost. It would be up to the other PoS "miners" to determine if another miner is producing invalid blocks. If the miners as a whole were to act badly, the value of the coin would become worthless.

In both PoS and PoW, if the miners as a whole act badly, they will lose their investment. However, with PoW, the underlying coin will survive. This is an important distinction. If a large PoS miner were to successfully act badly, they could potentially enter into derraritive contracts to offset the coin they have "locked up" that is mining. This removes the requirement for a PoS miner to actually invest in their "mining" operation. OTOH, a PoW miner cannot easily hedge their investment if they intend to act badly while mining.

Maybe some algorithm that doesn't utilize cryptographic algorithms (I.e. energy) or tokens is what is necessary to create a low-energy PoW alternative that doesn't put your coins at financial risk (locking tokens I.e. POS).

For example - Proof of Time (I made this one up).

Most operating systems support nanosleep(2) for pausing execution for a certain amount of nanoseconds.

So instead of solving a problem where you must find successively smaller hash inputs, we turn it into a problem of sleeping for a random amount of nanoseconds (1 second = 1 billion nanoseconds) up to a certain target.

The idea would be that the network keeps a global 256-bit counter that tells how long all of the nodes have slept, and that all of the nodes will compete with each other to sleep, each amount of time slept increments the global counter, and the node that whose sleep time causes the counter to hit the target will get the block reward. Then the counter time is reset to zero and the target is increased or decreased based on a difficulty adjustment algorithm similar to the ones in Proof of Work.

The sleep time will be hardcoded, to e.g 100ms.
A "stale message" multiplier will also be hardcoded, e.g 20.
This means that nodes have 2 seconds to sleep for 100ms and relay the messages over the network to other peers before they start rejecting the message.

So, what happens after a node sleeps (it actually doesn't have to sleep, it just need to wait for the sleep time doing something else but the only logical activity that wakes programs up after particular intervals is sleeping), then it sends this message to all of its network peers, with the following content:

{
current_UTC_datetime: string
public key: string
hash: ECDSA signature of current_UTC_datetime against private key
}

A message with datetime in the future is rejected.
Messages with datetime more than (sleep_time * multiplier) nanoseconds in the past are also rejected.
Otherwise, the sleep time is added to the global counter, stored in a ledger I.e. an array of entries that look like:

{
current_counter: 256-bit int
message: {above message embedded here}
}

If the node finds that their public key is associated with an entry that has hit the target, then it generates a block reward for itself (as the consensus is coded in the program) .

Then each node only does one ECDSA operation per "sleep time" interval instead of several trillion SHA256d iterations, while keeping a decentralized blockchain.

This schemes relies on a majority of nodes being honest in relaying the correct time, just like PoW. But it neither uses vast amount of energy (ASICS are made redundant for this), nor locks up finances.
copper member
Activity: 2996
Merit: 2374
It's been long time since i saw PoS discussion on this "Development & Technical Discussion". I hope there won't be any chaos.

P.S. Here is a realistic risk of PoS: a lot of people have proven to see cryptocurrency as a trading tool and they will deposit their coins on a centralized exchange. All of a sudden we have one entity with a huge amount of coins aka stake that can control the PoS too.

And it already happened several times. For example, Binance, Houbi and Poliniex helped Tron foundation to perform hostile takeover on Steem network[1]. Binance only apologize[2] while Houbi make an excuse[3] without any real action.

[1] https://cryptoslate.com/big-exchanges-conduct-a-hostile-takeover-of-steem-blockchain-following-tron-acquisition/
[2] https://www.cryptoglobe.com/latest/2020/03/binance-apologies-for-its-role-in-justin-sun-s-steem-takeover/
[3] https://coingape.com/huobi-exchange-responds-steem-network-takeover-by-justin-sun/
Couldn't you replace the exchanges in question with major PoW miners? The exchanges in question hold customer money, and customers could trivially move their crypto to their own wallet, or another exchange.

There are still pools today, but mining has become increasingly done by entities that own large amounts of mining hardware.
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
It's been long time since i saw PoS discussion on this "Development & Technical Discussion". I hope there won't be any chaos.

P.S. Here is a realistic risk of PoS: a lot of people have proven to see cryptocurrency as a trading tool and they will deposit their coins on a centralized exchange. All of a sudden we have one entity with a huge amount of coins aka stake that can control the PoS too.

And it already happened several times. For example, Binance, Houbi and Poliniex helped Tron foundation to perform hostile takeover on Steem network[1]. Binance only apologize[2] while Houbi make an excuse[3] without any real action.

[1] https://cryptoslate.com/big-exchanges-conduct-a-hostile-takeover-of-steem-blockchain-following-tron-acquisition/
[2] https://www.cryptoglobe.com/latest/2020/03/binance-apologies-for-its-role-in-justin-sun-s-steem-takeover/
[3] https://coingape.com/huobi-exchange-responds-steem-network-takeover-by-justin-sun/
copper member
Activity: 2996
Merit: 2374
I'm as pro PoW and anti PoS as anyone, but your case is not strengthened by the sloppy reasoning at the end:

In proof of work, when you setup your ASICs and start mining you're, intentionally or not, subsidizing decentralization as the rest of the miners suddenly have less power.

The same thing happens in proof of stake: To acquire voting power you buy stake from existing stake-holders, who end up having less power.

Quote
The opposite happens in proof of stake: To acquire voting power you increase their gains.

Financial gains has little to do with it. If you buy ASICs from another miner, then you also increase their gains.
This.

I am not aware of any serious argument that suggests PoS will result in mining to become centralized, over time or otherwise.

Bitcoin PoW mining today is not controlled by any single entity, but the number of major miners has decreased from what would have been predicted even a few years ago. There have probably been times in which a small group of unrelated entities could theoretically band together to execute a 51% attack on the network, but the economic incentives around PoW seem to have held up and we have not seen that.
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
I see PoW vs PoS also in a philosophical way: it's meritocracy vs oligarchy.
For PoW one has to work hard and good to obtain rewards and trust.
For PoS the rich ones rule; you have no other choice than just trust them because they've bought that coin.

I know that PoS lovers will come and tell that ASICs can also be bought on big numbers by the rich. Still not the same. PoW is the right direction.
The only thing I'd like to see more is that large ASIC farms start building their own sources of regenerable energy (although I know that the PoW vs Environment drama is fake)
legendary
Activity: 2450
Merit: 4415
🔐BitcoinMessage.Tools🔑
What I don't understand is that if a proof-of-stake "consensus" algorithm alone is not sufficient to reach consensus, especially when it comes to those nodes that have just joined the network or been offline for a long time, then how can we call it a consensus algorithm in the first place? And if it is not possible to reach a consensus with a pure PoS, then the whole debate becomes meaningless: it simply cannot compete with PoW due to its inherent drawbacks that cannot be fixed except through relying on some less secure punishment mechanisms or timestamp servers based on, again, PoW algorithms.


The same thing happens in proof of stake: To acquire voting power you buy stake from existing stake-holders, who end up having less power.
The trouble is that current stakeholders aren't incentivized at all to sell their stakes for they would make more money and would have more power by just doing nothing. No rational player will give up their power and ever-increasing amount of money for the sake of short-term yields. You aren't incentivized to make others more powerful by selling them tokens either.

Quote
So no matter anyone's opinion here for or against, the marketplace has already chosen.
Clearly, the market has chosen bitcoin with its PoW since it holds first position, above all shitcoins with PoS you enumerated.
legendary
Activity: 990
Merit: 1108
I'm as pro PoW and anti PoS as anyone, but your case is not strengthened by the sloppy reasoning at the end:

In proof of work, when you setup your ASICs and start mining you're, intentionally or not, subsidizing decentralization as the rest of the miners suddenly have less power.

The same thing happens in proof of stake: To acquire voting power you buy stake from existing stake-holders, who end up having less power.

Quote
The opposite happens in proof of stake: To acquire voting power you increase their gains.

Financial gains has little to do with it. If you buy ASICs from another miner, then you also increase their gains.
member
Activity: 280
Merit: 30
Quote
To be honest, bitcoin low number of coins makes it unsuitable to be a proof of stake coin.
Technically, we can move to fractional satoshis when needed. Also, in LN you have millisatoshis, so it is possible to increase coin precision without changing the main layer.

Quote
Is what will you do when PoW mining is banned world wide?
That's why mining decentralization is important. When a lot of computers will be mining single satoshis or millisatoshis, then they can collectively mine new blocks. In case of huge computing power drop, it will be needed to somehow "push chain forward", so trusting "the strongest shares" will be needed. If it happens gradually, it will be similar to gradual computing power increase, but just in reversed direction. That way or another, it will be a failure of Proof of Work, and then trusting "shares" is needed to do anything without a hard fork and hacking the difficulty.

Quote
The final question coming is will the world government let your PoW survive, and that is what you need to worry about if you want PoW mining to continue.
As long as Open Hardware and Open Software exists, I think we are safe. The government can block huge miners, but they cannot block millions of CPU's. If they will, PoW mining will be the least important thing of our problems, because then all wallets can be considered unsafe.


So you are proposing that PoW algo be changed to something that can only run on CPUs as a way to spread out mining and the energy usage.
Doubtful the ASIC miners would agree.
The days of the PC are numbered for the average person, as normal people switch to smart phone or tablets,
the increased heat and faster destruction of said devices , would prevent the majority from mining , plus you have a new strain on the wireless cell towers to content with.
And illegal botnets would have a major advantage in PoW mining.
If a business still used PCs, they would still concentrate the devices to one area to save housing costs and you are right back where you started.
Plus any new CPU PoW algo can have a ASIC designed for it, so you still don't get off the asic treadmill.

copper member
Activity: 903
Merit: 2248
Quote
To be honest, bitcoin low number of coins makes it unsuitable to be a proof of stake coin.
Technically, we can move to fractional satoshis when needed. Also, in LN you have millisatoshis, so it is possible to increase coin precision without changing the main layer.

Quote
Is what will you do when PoW mining is banned world wide?
That's why mining decentralization is important. When a lot of computers will be mining single satoshis or millisatoshis, then they can collectively mine new blocks. In case of huge computing power drop, it will be needed to somehow "push chain forward", so trusting "the strongest shares" will be needed. If it happens gradually, it will be similar to gradual computing power increase, but just in reversed direction. That way or another, it will be a failure of Proof of Work, and then trusting "shares" is needed to do anything without a hard fork and hacking the difficulty.

Quote
The final question coming is will the world government let your PoW survive, and that is what you need to worry about if you want PoW mining to continue.
As long as Open Hardware and Open Software exists, I think we are safe. The government can block huge miners, but they cannot block millions of CPU's. If they will, PoW mining will be the least important thing of our problems, because then all wallets can be considered unsafe.
member
Activity: 280
Merit: 30
One could enter this debate, but their is little reason.
If the person supporting PoS is winning the debate, then the mods lock the topic.
If the person supporting PoW is winning the debate, then the mods allow it and others point to it as proof.

The Truth is these random arguments no longer have any weight in the real world.

In the real world. The top 12 coins on coinmarketcap.
#1 on CMK: Bitcoin is the only PoW coin
#2 on CMK: Ethereum is switching to PoS.
#3, #4, #5: Are Tokens
#6 on CMK: Ripple is neither.
#7 on CMK :Cardano is already PoS.
#8 on CMK: Solana is a version of PoS
#9 on CMK: Tera Luna is a version of PoS
#10 on CMK: Avax is a version of PoS
#11 on CMK: Token
#12 on CMK: Polkadot is a version of PoS

Of the top 12 coins
1 is PoW , 4 tokens, 1 custom XRP
The other 6 are PoS.

So no matter anyone's opinion here for or against, the marketplace has already chosen.
And their is an undeniable lean toward PoS or anything other than PoW.

Does Bitcoin have to move to PoS, absolutely not.
To be honest, bitcoin low number of coins makes it unsuitable to be a proof of stake coin.

PoW does have issues and something will have to be done at some point.
The current Bans and the future bans, because of the limits of the modern power grid to support the ever increasing energy requirements of the PoW miners.

Their will be no green energy solution fix to the above, as China one of the largest hydro energy producers was the 1st to have banned PoW mining.
Europe could ban PoW mining by 2025.  

Most other coins will switch to PoS, as ethereum is doing.
So they will avoid the bans.

Your only real concern , if you are dead set on wanting Bitcoin to be PoW and still be used.
Is what will you do when PoW mining is banned world wide?

Brainstorming answers for PoW real problem is what you should be focused on,
because the PoW verses PoS debate is dead.

Ethereum, Cardano, Algorand and all of the other PoS designs will continue regardless of what happens with PoW or bitcoin.

The final question coming is will the world government let your PoW survive, and that is what you need to worry about if you want PoW mining to continue.

legendary
Activity: 3472
Merit: 10611
Quote
they'd also be as correct as one saying that it's less centralized, because it has a better wealth distribution (no ICOs etc.).
It should be clarified that there is a difference between "wealth distribution" and not having an "ICO, premine, etc.".
Having an ICO means initially there were coins that were created out of thin air by the creator and sold to people so that the creator can make money for something that doesn't yet exist. That is a big centralization sign.
On the other hand, wealth distribution means how the circulating supply is distributed among adopters. I'd argue that it has no effect on decentralization. Simply because you can't affect the network with whatever amount of bitcoin you have (bitcoin is PoW after all). Which brings us to the fundamental flaw of PoS.

Quote
Centralization is the situation where few people (can) have a great affectation to the final outcome of our economy.
Why "economy"? It is limiting the definition. I'd say the network as a whole not just the economy. For example the "economy" was centralized back in 2013 when there was one major bitcoin exchange (MtGox) controlling more than 85% of the total trading volume and it was manipulating the market. Yet bitcoin was still decentralized.

P.S. Here is a realistic risk of PoS: a lot of people have proven to see cryptocurrency as a trading tool and they will deposit their coins on a centralized exchange. All of a sudden we have one entity with a huge amount of coins aka stake that can control the PoS too.
copper member
Activity: 1652
Merit: 1901
Amazon Prime Member #7
I can't believe some people are still thinking that Proof of Stake is the future, just because it spends less energy than Proof of Work, and it fits the green narrative propaganda.
I think this is what is behind the recent push to get bitcoin to convert to PoS. There is not a technical rational behind wanting to switch. There is a desire to implement the green new deal.
legendary
Activity: 2212
Merit: 7064
Why Proof of Stake centralizes the system
Because, the sources to contribute to the network aren't available outside the system. The "underpinnings" are in the stakers' fate. In proof of work, when you setup your ASICs and start mining you're, intentionally or not, subsidizing decentralization as the rest of the miners suddenly have less power. The opposite happens in proof of stake: To acquire voting power you increase their gains.
I can't believe some people are still thinking that Proof of Stake is the future, just because it spends less energy than Proof of Work, and it fits the green narrative propaganda.
Just look what happened with fake news about ethereum switching over to eth 2.0 that is probably never going to happen, except maybe in metaverse space Tongue
Intel just entered Bitcoin mining with new power saving dedicated chips and it's not impossible to think that in future we are going to have even more improvements in this field.
Real question is if enough people care about decentralization and proof of work, or they just want quick gains and fake promises.
copper member
Activity: 1652
Merit: 1901
Amazon Prime Member #7
With PoW, a miner needs to make an investment in mining equipment for to mine the cryptocurrency. If that equipment cannot be used to mine that cryptocurrency, there is no other way for the equipment to create value for its owner. If the miners as a whole were to act badly, the mining algorithm could be changed, and the mining equipment would become worthless.

Similarly, with PoS, a miner must "lock up" their coin in order to receive mining rewards. This is similar to a miner buying a miner, except without the mining manufacturer. If a PoS "miner" were to produce invalid blocks, their "locked up" stake would be lost. It would be up to the other PoS "miners" to determine if another miner is producing invalid blocks. If the miners as a whole were to act badly, the value of the coin would become worthless.

In both PoS and PoW, if the miners as a whole act badly, they will lose their investment. However, with PoW, the underlying coin will survive. This is an important distinction. If a large PoS miner were to successfully act badly, they could potentially enter into derraritive contracts to offset the coin they have "locked up" that is mining. This removes the requirement for a PoS miner to actually invest in their "mining" operation. OTOH, a PoW miner cannot easily hedge their investment if they intend to act badly while mining.
copper member
Activity: 821
Merit: 1992
Quote
An other may say that few pools own the majority of the hash rate and hence, it's centralized; they may disagree that centralization can be measured etc.
Quote
  • Everyone can generate lottery tickets.
Yes, everyone can do that, but not everyone can generate "shares". This problem can be partially solved by Merged Mining, but it is still not yet ready in production, because if/when it will be, we will no longer have those huge pools: https://www.truthcoin.info/blog/security-budget-ii-mm/#f-the-trilemma
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
This thread is a tribute to all the discussions that have been made regarding these two mechanisms. As a PoW enthusiast, I'd like to explain why PoS is an inferior mechanism for such protocol as it loses in both centralization and capability of producing consensus, two of which are necessary for an innovative kind of money of this character.

But, before I move onto anything, I think that it's very important to understand what's centralization. It can be described as:
Quote
The action or process of bringing activities together in one place.

As you may get, centralization is a vague term and it's nowadays misused either unwittingly or to favor benefits. One may say that Bitcoin is less centralized in contrast with an altcoin, because its hash rate is distributed more properly, but they'd also be as correct as one saying that it's less centralized, because it has a better wealth distribution (no ICOs etc.). An other may say that few pools own the majority of the hash rate and hence, it's centralized; they may disagree that centralization can be measured etc.

Therefore, we need to precise what exactly we'll call centralization. My definition goes as following:
Quote
Centralization is the situation where few people (can) have a great affectation to the final outcome of our economy.

So, the more something's centralized, the more those few can affect it. They're analogous values. These people can either be developers or regular users.



Proof of Work
How it works in theory: (With lottery tickets as metaphor)
  • Everyone can generate lottery tickets.
  • Scratching those requires spending of computational power.
  • There's no way to know if a ticket is a winning one unless you scratch it.
  • Each ticket has a rarity.
  • If someone proves they scratched a ticket whose rarity was one-out-of-one-trillion, they essentially reveal that they have searched one trillion tickets on average.
  • The network decides what rarity is required for a ticket to be a winning one.
  • Whoever scratches such ticket gets a reward.
  • The required rarity changes based on the frequency of the winners.

Proof of Stake
How it works in theory:
  • Owners of the cryptocurrency lock up their funds.
  • They vote by proving their financial bond with a digital signature. The greater the bond, the more the votes.
  • The block with the most votes is considered the valid one.



A valid transaction is a transaction that complies with the consensus rules and has been included into a block. For example, if you try to spend a transaction output that has already been spent, then the transaction is invalid as it goes against the rules. Satoshi Nakamoto solved the double-spending problem in the following way:

  • Require all the transactions to go through a ledger. Any transaction that is not written in it is ignored.
  • When there are two conflicting transactions, the "correct" one is the one that was published first.
  • To determine time, you need a timestamp server.
  • To have a timestamp server, rely on proof of work.

That way you can ensure for the validity of the ledger, without being present all the time. Consensus takes place when the transaction ordering problem is resolved in a decentralized way. That's essentially Bitcoin. That's the Byzantine generals' concerted strategy.

Why Proof of Stake cannot produce consensus
Punishment plays a big role in this system. Our wealth is protected solely from a game theory: One or more entities are discouraged to cheat. Why that happens? Well, besides that:
Quote from: bitcoin.pdf, Satoshi Nakamoto
The incentive may help encourage nodes to stay honest. If a greedy attacker is able to assemble more CPU power than all the honest nodes, he would have to choose between using it to defraud people by stealing back his payments, or using it to generate new coins. He ought to find it more profitable to play by the rules, such rules that favour him with more new coins than everyone else combined, than to undermine the system and the validity of his own wealth
There's also one thing our fellow forgot to mention (or emphasize): Energy. If one's behavior is dishonest towards the network, they're forced to pay for acquiring energy whether their attack is successful or not. They're punished outside the system.

This is not true in proof of stake and you'll understand why that's bad along the way. Nonetheless, there has to be a way to discourage cheaters, even if they're punished within the system's borders, and there is: Security deposits. Once nodes stake their money, the network can use those to punish them in case they misbehave.

While the mechanism uses the users' money to avoid double-spending it suffers from the so-called "double-signing problem". In other words, the system isn't objective in broad terms:

Quote from: How I Learned to Love Weak Subjectivity, Vitalik Buterin
However, new nodes joining the network, and nodes that appear online after a very long time, would not have the consensus algorithm reliably protecting them. Fortunately, for them, the solution is simple: the first time they sign up, and every time they stay offline for a very very long time, they need only get a recent block hash from a friend, a blockchain explorer, or simply their software provider, and paste it into their blockchain client as a “checkpoint”. They will then be able to securely update their view of the current state from there.

Remember, we use consensus to ensure that a newbie who just installed a client, syncs without doubt of whether what they're receiving is valid or not. Their node demands from the rest to send blocks, it verifies the validity of every block and transaction and it'll initially reach to the last block of the chain with the most work. That's essentially the purpose of consensus; to avoid having unreliable actors.

When it comes to unreliability, our newbie is definitely safe in the PoW environment, but not in the PoS'. You see, since there's lack of objectivity, the weaknesses already seem to show up. If, say, one wanted to attack, they could gain much influence by liquidating their stake and proceeding to the abuse of their own keys. Any blocks that had been signed by them would be vulnerable and they'd have nothing to lose. That's known as "Nothing at stake problem".

PoS cryptocurrencies attempt to solve this problem by either punishing the attackers with the deposits' loss if they sign another block during a particular period of time or by ignoring a block that is signed a certain period of time later. The problem is that you can only do the latter if you were there from the start. If you had your node syncing, you'd have no way to know which of the two identical blocks is the correct one. As I've already said to have a timestamp server you need to rely on proof of work.

Why Proof of Stake centralizes the system
Because, the sources to contribute to the network aren't available outside the system. The "underpinnings" are in the stakers' fate. In proof of work, when you setup your ASICs and start mining you're, intentionally or not, subsidizing decentralization as the rest of the miners suddenly have less power. The opposite happens in proof of stake: To acquire voting power you increase their gains.




I address to PoS-ers to come to this thread and constructively argue with the above assertions or if they don't disagree, to spell out why PoW is worse. This was just my opinion; anyone's free to support the other side. I didn't type this title for no reason.
Pages:
Jump to: