Miners vs Validators What do you think?

9 replies 395 views
3r1c777Full Member
Posts: 177 · Reputation: 674
#1May 22, 2022, 01:55 PM
In the world of crypto, every transaction needs a sender, a receiver, and some way to validate the process. I think most of us are familiar with this idea, myself included. But do miners really serve a different role compared to validators? I had no clue until I started digging into it. When I hear the term mining, the first thing that pops into my head is Bitcoin. I’m a big fan of Bitcoin and its network, so the whole concept of a miner has always made sense to me. Mining itself feels like a whole subject that could be explored deeper with topics like halving, validations, computing, hashing, nodes, and more. Miners utilize the Proof Of Work system to validate Bitcoin transactions, pulling those transactions into blocks and then adding those blocks to the Blockchain. This whole operation is super intensive in terms of computational power and is pretty competitive among miners. Those who successfully mine a block get rewarded with the cryptocurrency’s native token, which can vary from Bitcoin to Monero, Litecoin, and so on, based on the Blockchain they’re involved with. On the flip side, validators operate using the Proof Of Stake protocol for transaction validation and new block verification before they’re added to the Blockchain. With Proof Of Stake, validators have to stake a certain amount of crypto to take part in this process. Who gets to validate a transaction depends on how much crypto they hold. Validators earn rewards too, mainly from transaction fees, but they don't need as much computational power compared to miners.
5 Reply Quote Share
coin777Senior Member
Posts: 143 · Reputation: 970
#2May 24, 2022, 05:53 PM
Yes, for example by signing every version. Making a signature is cheap, while mining an alternative chain is hard. Which means, that if you want to trigger for example deep chain reorganization, then all you need in PoS is just re-signing the whole chain (which is a fast process, and you can easily reorg thousands of blocks). On the other hand, re-mining the chain is very hard, and some historical violation of rules are "grandfathered in", so they are written as exceptions in the code, because nobody will re-mine thousands of blocks. For example: BIP-30: https://github.com/bitcoin/bips/blob/master/bip-0030.mediawiki I think they adopted it, because they still don't know, how to make Proof of Work chain correctly. One example of a failed attempt is NameCoin, which accepted only NameCoin-based block hashes, when calculating their difficulty. And because of that mistake, you can 51% attack NameCoin, even if you don't have enough power to 51% attack Bitcoin. What they should do, is to trace every double SHA-256 header, no matter if it is valid or not, and calculate their difficulty, based on that. And if they wanted to stick with 10 minutes per block, then they could just decrease their amount in the coinbase transaction, relatively to their local difficulty (or even not introduce any new coins at all, and just do a 1:1 peg with existing coins, and reward miners with their own product, called "domain names"). Usually, you have to join a pool, no matter if it is Proof of Work, or Proof of Stake. Because there is a single chain of valid block headers, and you don't have "1000 valid blocks, at height 123,456". Of course, in chains like ETH, you have features like "uncle blocks", but then, that sword has both ends, and when you push that pool-related information on-chain, then validating everything from scratch takes more time, than it should. Solving the problem of pools would require sending "shares" in a purely P2P way, so that each node would act like a new mining pool, and would share the block reward with every other peer, which submitted enough shares. I think those two functions are now somewhat separated in the Bitcoin network. You have ASIC miners, which just take 80-byte block headers, and produce a small hash. And you have validators, which are just full nodes, checking if the result of that mining is valid or not. In the old times, we had only "nodes", without splitting them into those who mined, and those who didn't mine. Now, the situation is different, but it was planned upfront to end in that way. Of course, there is still some room for improvements, for example some miners could just run LN nodes, and receive millisatoshis on L2, if they have too small hashrate, to compete in the mainnet.
3 Reply Quote Share
w0lf404Hero Member
Posts: 801 · Reputation: 2381
#3May 24, 2022, 09:41 PM
In bitcoin, mining and validating have different meanings. Bitcoin transactions are validated by nodes and they are confirmed by miners. Once you broadcast a transaction, it's sent to some nodes. Nodes check if your transaction follows the rules. If so, they put your transaction in their mempool and also send it some other nodes. Miners solve the proof of work problem and they include the transactions in the blockchain.
4 Reply Quote Share
SwiftMatr1xFull Member
Posts: 59 · Reputation: 474
#4May 24, 2022, 10:28 PM
They both have competition. In the first scenario you are competing to be the one with majority hashrate while in the other you want to have majority of the supply. Same way we can have different successful miners on PoW despite them having different amounts of hashrate, it also occurs on PoS. Important differences is that PoS is not created to boost security and it heavily favors centralization of the supply while taking coins out of circulation. - Jay -
3 Reply Quote Share
im_apeHero Member
Posts: 629 · Reputation: 3824
#5May 25, 2022, 02:47 AM
Initially when someone came up with the idea (Proof of Stake) more than a decade ago they were thinking about an alternative blockchain algorithm that doesn't rely on heavy computation. But this is a flawed protocol that failed nearly as soon as it was introduced. So I wouldn't use the word "adopted" for it. Nowadays any altcoin that chooses this algorithm aims to maximize their own income. Such coins usually have a massive premine where the developer tries to create a passive income for themselves without doing any work. Like Ethereum! P.S. One of the major flaws of PoS is that almost always the centralized exchanges can easily become a massive stake holder and perform an attack on that coin!
0 Reply Quote Share
3r1c777Full Member
Posts: 177 · Reputation: 674
#6May 25, 2022, 05:23 AM
I just imagine Binance becoming the highest staker. That's already a 100% centralization on their own Blockchain. From all these, the rough work lies more on PoW making it's security level very high. Seems not everyone can easily compute every mathematical concepts that concerns PoW protocol. Though I have come across some alt that has successfully applied this mechanism. I will do more reading on Namecoin and their failed concepts.
1 Reply Quote Share
im_apeHero Member
Posts: 629 · Reputation: 3824
#7May 26, 2022, 09:55 AM
They already are big in a lot of chains. By the way here is an actual example of such an attack on a PoS coin called Steem: https://cointelegraph.com/news/the-steem-takeover-and-the-coming-proof-of-stake-crisis
5 Reply Quote Share
3r1c777Full Member
Posts: 177 · Reputation: 674
#8May 26, 2022, 01:55 PM
This is wide  . Now the Steem social network would be in a complete disaster. Justin should have done better rather than ruining the entire system. Could this also be part of the reasons why some of the developers had to leave to create a Steem clone  . I read about their exit sometime back.
3 Reply Quote Share
falcon_wizardSenior Member
Posts: 123 · Reputation: 896
#9May 26, 2022, 06:45 PM
You probably mean Hive and the Hive.blog as alternatives for Steem and Steemit. Those who didn't agree with the takeover had their reasons to leave. Some others were maybe asked to or let go. Hive appeared as a direct response. A decentralized social media with no censorship and a lower chance for such a takeover as what happened to Steem and its services.
4 Reply Quote Share
mike777Member
Posts: 44 · Reputation: 242
#10May 27, 2022, 12:01 AM
One of the key differences that comes to mind when comparing Proof-of-Stake and Proof-of-Work is the ability of a staker to maintain their voting power indefinitely without incurring additional costs.  For instance, if Bitcoin were Proof-of-Stake and Binance had 210,000 BTC staked, they could consistently maintain the ability to create 1% of the blocks, always, no matter what.  With Proof-of-Work, if more miners join the network, they directly reduce your voting power.  You can't hold onto a fixed portion of the hashrate by simply owning a certain number of ASICs.  That's beautiful, in my opinion.
2 Reply Quote Share
?Reply
Sign in to reply to this topic

Related topics