As promised in this post, I'll be releasing brand new Crypto Coin Consultants videos here on Steemit/Dtube one week in advance! Giving others early access to content is one of mine & Rene's @world5list strategies of incentivizing others to join our beloved decentralized platforms.
Thanks for all your support & I hope you enjoy :)
Be sure to subscribe to our channel here: https://www.youtube.com/c/CryptoCoinConsultants
And feel free to also watch it on YouTube here:
Script:
The Byzantine Generals’ Problem
Before I begin discussing proof-of-work, it’s important for you to be aware of the Byzantine Generals’ Problem. Imagine two generals of the Byzantine army surrounding a city they want to attack & take over, as shown in this photo. Each general has a group of soldiers at his command, but the two groups are separated from one another & therefore have a difficult time communicating. Both generals have two decisions they can choose from: attacking the city or retreating. But here’s the catch: an attack on the city would be successful ONLY IF both their armies attack at the same time; one general retreating while the other attacks would lead to a failed attack. The generals can communicate with one another by sending a messenger to deliver a message, like “We attack four days from now at midnight. Send a messenger back to confirm.” But sending the messenger through the town to get to the other side involves a certain risk element: the messenger can get caught & replaced with a spy, who then sends a faulty message to the other side, like “Attack tomorrow at midnight; no need to reply!” You can see how this would lead to a disaster. This might sound like a bit of a sudden leap, but proof-of-work is one of the first systems to solve this problem. In the case of Bitcoin, for example, giving the command “I send you $100” would be the equivalent of “Let’s attack the city in two days,” and you’ll soon find out why.Proof-of-work
Proof-of-work is a computational protocol miners use to validate transactions in a cryptocurrency network & add the transaction to the blockchain. Put simply, miners use their computers to churn through a ton of different guesses until the computer comes up with the right answer that fits within the network’s required parameters. Now this is where things may get a little confusing, but I’ll talk slow & try my best to explain it to you in as simple of terms as possible. Different cryptocurrencies use different mathematical formulas (or functions), all of which are based on extremely complex cryptography. A hash is a certain piece of information, ranging from a letter or number to even an entire word or text file. A hash function is a cryptography-based math equation where you input a hash value into the equation then get an encrypted string of numbers & letters as a result (the hash). Let me help you visualize it to make it easier. We’ll represent our hash function as h(x) = y, where h is the mathematical equation (aka the “hash function”), x is a dynamically-changing hash value, and y is the encrypted output (or hash). If we wanna use the word “hello” as our hash value, the hash function would look like h(hello), and our hash y would be an encrypted output, like 12345. Putting it all together, we get h(hello) = 12345. Changing our hash would give us a completely different output: h(goodbye) = 67890. In the case of Bitcoin, the hash function that’s used is known as SHA-256 (which is an acronym for Secure Hash Algorithm, which uses a 256-bit hash). The hash value that you input can be as many different numbers & letters as you’d like, but the output will always be a string of 64 letters or numbers. Changing just one letter of the hash value will yield you a completely different output. So inputting the word “Angelo” into the SHA-256 hash function will result in a different 64-digit combination of letters & numbers than if you were to use the word “Angel” as your hash value. The reason why this is so secure is because SHA-256 is a one-way formula, meaning it’s impossible to reverse engineer your output to find out what the original hash value was. So proof-of-work is essentially just that: you have a given hash function you’re required to use along with a 64-digit answer; and as a miner, you set your computer to “work” by plugging in a bunch of different hash values in an attempt to guess the right answer. Once you do so, you’re able to validate a transaction, add it to a block, and get rewarded for your efforts in the form of Bitcoin, which are released as block rewards. Think of mining as simply a race to guess the right answer. The miner who gets the right answer first gets the reward. Going back to the Byzantine Generals’ Problem, think of the 64-digit answer as an encrypted message one of the generals is trying to send, and SHA-256 as the protocol the generals have both agreed to use beforehand. If the messenger gets caught in the town below, it’s practically impossible to decipher the message. But once this message gets into the other general’s hands, he can do the “work” of guessing a ton of different message possibilities, which he’ll encrypt using the SHA-256 formula. Once his output matches the encrypted message he received, he’ll know exactly what the other general was trying to say! There’s a bunch of other aspects to proof-of-work & mining (like nonces, hash rates, and difficulty adjustments), but my main goal of this video is to give you just a basic understanding of these concepts so you’re more informed than the average Joe. But if you’d like to learn more about them, a quick search on Google or YouTube will yield you a ton of different resources for you to educate yourself on these matters.Proof-of-Stake
The proof-of-stake protocol differs from proof-of-work in the sense that mining power is determined by the number of coins you hold of that particular cryptocurrency; the more coins you hold, the more mining power you have. Mining power with proof-of-work, on the other hand, is determined by how powerful your computer is & how much available electricity you have at your disposal that you can direct towards mining. In proof-of stake, holding ownership of the coins demonstrates your “stake” in the network. Of course, holding more coins means you have more at stake, meaning majority holders are entitled to more mining power; thus giving them a permanent advantage over other miners. To remedy this, several methods have been implemented to grant smaller miners a chance to mint the next block, such as randomized block selection & coin age based selection. There’s also the option of running a masternode, which I discussed in my previous video on hard forks. One of the advantages of the proof-of-stake protocol is that it solves the Tragedy of Commons issue, which states that eventually, at some point in time, once all 21,000,000 Bitcoin have been rewarded & are in circulation, Bitcoin miners will be less motivated to mine in the Bitcoin network since there will no longer be any block rewards at that point, and the only way they’ll only be able to earn Bitcoin is from transaction fees. Less miners means more opportunity for an attack on the network, since it’ll be easier to control 51% of the network’s computational power. Proof-of-stake solves that by putting your own coins & investment at stake. Even if someone manages to own 51% of the circulating supply, it’d be extremely disadvantageous for them--and just outright stupid--to attack a network in which they hold a majority share. Staking their coins as collateral incentivizes them to maintain the network’s overall integrity & well-being.Which is better?
Both protocols have their own advantages & disadvantages. Proof-of-work allows for not just miners, but also developers & the coin’s community members to vote on potential changes to be implemented into the network. But on the flipside, proof-of-work requires exorbitant amounts of electricity to run mining rigs. As of 2017, the Bitcoin mining network used more electricity in a year than all of Ireland as a whole. Each Bitcoin transaction uses an average of 300 kilowatt hours of electricity, which is enough to bring 36,000 kettles full of water to a boil. Proof-of-stake, on the other hand, is said to be more energy-efficient than proof-of-work, while at the same time more secure. But its biggest disadvantage is that the miners (or stakeholders) are the ones who hold all the power. Unlike in proof-of-work, miners able to theoretically implement whatever changes they so choose without having to get approval from developers or community members. This contradicts the coin’s supposed “decentralized nature” by potentially putting all the voting power & control in the hands of a centralized few.
▶️ DTube
▶️ IPFS
You're so good on Camera! Great info! Great work!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks Dan, I appreciate your support & kind words as always!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for the nice info
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for watching!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Well-written post and nice video! Keep up this great Content!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for your support, I'm glad you like it!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
PoS will probably replace the PoW platforms before too long. Its just much more economical, and environmentally friendly, to have PoS. Furthermore, it provides incentives (usually coins from staking) that makes it a better hold than PoW.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I agree, plus transactions are so much faster! I'm super bullish on a ton of different PoS coins!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
great video very clear and concise examples!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks, I'm very glad you enjoyed it!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This is such a great way to explain the difference! Usually what I use to explain these concepts to a lay man involves a scenario about passing information where a link in a chain is a liar. The production quality is becoming better and better with every video, kapatid! Awesome job!
Also, I kept LOL-ing about the Proof of Steak pic up until the end of the vid haha!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you pare! I feel your frustration with explaining these concepts hahah! Definitely not an easy task, but necessary if we wanna raise awareness + increase adoption.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit