< Return to Video

Crypto 101: Proof of Whaa!?

  • 0:00 - 0:01
    Hey, everyone.
  • 0:01 - 0:03
    Today's video topic is
    about consensus protocols.
  • 0:04 - 0:06
    It doesn't sound very glamorous,
    but it is something that's
  • 0:06 - 0:09
    very important to understand if you're
    interested in cryptocurrency
  • 0:09 - 0:11
    or blockchain tech in general.
  • 0:11 - 0:15
    It is the groundwork for all of
    these coins that are out there,
  • 0:15 - 0:18
    so it's important to understand it so
    you can better understand the project.
  • 0:18 - 0:20
    Let's start with Proof of Work (POW).
  • 0:20 - 0:24
    This is one that you probably hear of
    most often, it is what Bitcoin uses.
  • 0:24 - 0:26
    And it is basically exactly
    what it sounds like.
  • 0:26 - 0:29
    Proving that work was done and
    proving that the work was correct.
  • 0:29 - 0:32
    Bitcoin and many other altcoins
    use this consensus system.
  • 0:32 - 0:36
    And they do that so the authenticity
    of the chain can be validated,
  • 0:36 - 0:40
    and that all parties agree that transactions
    that happen are correct and accurate.
  • 0:40 - 0:44
    I found an analogy online like usual that might
    be more helpful in explaining Proof of Work.
  • 0:45 - 0:49
    So imagine that you are a kid in a math
    class and you were taking an exam.
  • 0:50 - 0:53
    And the first kid to get to the answer
    and be able to prove and show their work
  • 0:53 - 0:55
    that they're correct gets rewarded.
  • 0:55 - 0:58
    Now applying that to the crypto world,
    the math exam is the transaction,
  • 0:58 - 1:00
    and the classroom is the blockchain.
  • 1:00 - 1:01
    The student is the computer or node.
  • 1:02 - 1:04
    And the brainpower is referring
    to the computing power.
  • 1:05 - 1:08
    And then the reference to a lot of effort
    on the side of the student refers to the
  • 1:08 - 1:11
    amount of electricity that's
    needed to prove in Proof of Work.
  • 1:11 - 1:13
    Some downsides for Proof of Work.
  • 1:13 - 1:17
    Most obviously, it requires work to be
    done and that requires electricity.
  • 1:17 - 1:20
    So as far as financial goes,
    it's definitely the most expensive
  • 1:20 - 1:22
    of the consensus systems.
  • 1:22 - 1:24
    Some of you may have figured
    this out on your own already,
  • 1:24 - 1:27
    but the hardware to mine is
    also exceptionally expensive.
  • 1:27 - 1:32
    To the point that unless you have a
    warehouse filled with mining equipment,
  • 1:32 - 1:35
    top end mining equipment,
    it's basically not even worth it anymore
  • 1:35 - 1:39
    based on the price you have to pay for
    the mining equipment and the amount
  • 1:39 - 1:41
    for electricity to run all of it, really.
  • 1:42 - 1:44
    So your bill at the end of the month
    ends up being more expensive than
  • 1:44 - 1:47
    the amount of Bitcoin that
    you're capable of mining.
  • 1:47 - 1:51
    Another issue is miners moving from the
    Bitcoin blockchain to another more profitable
  • 1:51 - 1:55
    easier blockchain, which we've seen
    happen in the past with Bitcoin and all
  • 1:55 - 1:57
    its little alternating forks.
  • 1:57 - 1:59
    Another downside is the issue
    with circulating supply.
  • 2:00 - 2:04
    As the circulating amount goes up,
    the incentive for miners to mine goes
  • 2:04 - 2:08
    down because the availability
    of coins to mine is decreasing.
  • 2:08 - 2:11
    So eventually people are going
    to switch to another blockchain.
  • 2:11 - 2:15
    A final downside to the Proof of Work
    consensus systems is something
  • 2:15 - 2:19
    I discussed in my Crypto 101 video
    where I covered blockchain tech.
  • 2:19 - 2:21
    The biggest issue is a 51% Attack.
  • 2:21 - 2:25
    And basically that means if you have
    enough computational power to maintain
  • 2:25 - 2:29
    and run 51% of the network,
    you then can control everything.
  • 2:29 - 2:32
    Proof of Stake (PoS) is the next
    most popular consensus system,
  • 2:32 - 2:35
    and unlike Proof of Work,
    it doesn't use computational
  • 2:35 - 2:38
    power and electricity to solve mathematical
    equations to come to a consensus.
  • 2:39 - 2:41
    Instead, each node will bet on a block.
  • 2:41 - 2:46
    When that block gets added to the blockchain,
    whatever node had bet on it will get rewarded.
  • 2:46 - 2:49
    A Proof of Stake system requires the
    prover to show a certain amount of
  • 2:49 - 2:53
    staking weight and it's age to be able
    to participate in the betting process.
  • 2:53 - 2:57
    In the Proof of Stake system, blocks
    are said to be minted and not mined.
  • 2:57 - 3:00
    And those who validate the transactions
    and help to maintain the network
  • 3:00 - 3:02
    are also referred to as nodes.
  • 3:02 - 3:05
    Those individuals receive the
    cryptocurrency as a reward
  • 3:05 - 3:08
    for holding X amount of crypto
    in their wallet, which helps
  • 3:08 - 3:09
    to again maintain the network.
  • 3:09 - 3:12
    In order to validate
    transactions and create a block,
  • 3:12 - 3:16
    users must first put their coins at stake,
    which is obviously where the name comes from.
  • 3:17 - 3:20
    In this system, if a node validates
    a fraudulent transaction,
  • 3:20 - 3:22
    they're going to lose
    all of their holdings.
  • 3:22 - 3:24
    And on top of that, they're not
    going to be allowed to participate
  • 3:24 - 3:26
    in the minting process in the future.
  • 3:26 - 3:29
    Meaning the nodes will be incentivized
    to validate only the correct transactions
  • 3:30 - 3:32
    and help maintain the health
    and security of the network.
  • 3:32 - 3:37
    In a very loose comparison, it's kind of
    like keeping money in a savings account.
  • 3:37 - 3:39
    You leave it there, you're not really
    supposed to touch it and you will
  • 3:39 - 3:41
    acrue interest over X amount of time.
  • 3:42 - 3:45
    Unlike Bitcoin, where you would
    need 51% of the mining power
  • 3:45 - 3:48
    in order to overtake the network,
    with the Proof of Stake system,
  • 3:48 - 3:51
    you would need 51% of the
    total circulating supply.
  • 3:51 - 3:54
    Depending on the project, that
    could be a very pricey endeavour.
  • 3:54 - 3:58
    So because of that this isn't something that
    most people are worried about happening.
  • 3:58 - 4:02
    A plus side to Proof of Stake is that
    you don't need expensive mining [hardware]
  • 4:02 - 4:03
    in order to participate in the network.
  • 4:04 - 4:07
    You need to leave your computer on 24/7,
    which is kind of a pain, and the wallet
  • 4:07 - 4:09
    needs to be up and running
    and on the latest version.
  • 4:09 - 4:13
    And obviously a side effect of that
    is that Proof of Stake is more efficient
  • 4:13 - 4:16
    and uses less energy because
    it's not actively doing work.
  • 4:16 - 4:18
    It's kind of just sitting there passively.
  • 4:18 - 4:19
    Some downsides to Proof of Stake.
  • 4:20 - 4:23
    So the same reason that it's
    good is also a weakness.
  • 4:23 - 4:25
    The more you hold in stake,
    the higher rewards you get.
  • 4:26 - 4:28
    And that's kind of a rich
    getting richer situation.
  • 4:28 - 4:31
    And for obvious reasons,
    because staking gives your rewards,
  • 4:31 - 4:36
    another weakness is usually this isn't
    a great currency for transactionary things,
  • 4:36 - 4:39
    because people want to hold it
    and maintain it in the wallet
  • 4:39 - 4:42
    to get rewards and because of that
    people horde it and it's not going
  • 4:42 - 4:45
    out and doing things and there's
    a lot less circulation.
  • 4:45 - 4:48
    Although this helps stabilize the network,
    eventually some of these coins are going to
  • 4:48 - 4:52
    reach their max circulating supply,
    and at that point they may become
  • 4:52 - 4:55
    scarce and difficult to get or
    very expensive to purchase.
  • 4:55 - 4:58
    I want to touch on a little bit more
    detail of the Proof of Stake system.
  • 4:59 - 5:00
    There's two kinds of rewards systems.
  • 5:00 - 5:05
    One is randomized, and a coin that uses
    the randomized consensus system is PIVX.
  • 5:05 - 5:09
    Basically, this means the nodes that
    are receiving the rewards are randomized.
  • 5:09 - 5:12
    This makes it more balanced and
    more fair for the community.
  • 5:12 - 5:15
    Coin Aged Based Selection is the next one.
  • 5:15 - 5:17
    And that is pretty self explainatory.
  • 5:17 - 5:21
    Basically it means that the next node is picked
    based on the age of the coins in the wallet.
  • 5:21 - 5:26
    This one is where it's a little bit more unfair,
    because this is calculated by the number
  • 5:26 - 5:30
    of days that the coins have been staking
    in the wallet times the amount you have,
  • 5:30 - 5:31
    which gives you a network weight.
  • 5:32 - 5:35
    So you can see where there would be a problem
    if you're not holding a lot of coins
  • 5:35 - 5:37
    that your network weight
    is going to be smaller,
  • 5:37 - 5:41
    and there's going to be a less chance
    of you getting the reward as frequently
  • 5:41 - 5:43
    as somebody who has a lot
    more coins than you.
  • 5:43 - 5:45
    Most projects have some kind
    of staking requirement.
  • 5:45 - 5:50
    Meaning, when you send the coins to the
    wallet they have to be in the wallet X amount
  • 5:50 - 5:53
    of days or they have to be confirmed
    by X amount of confirmations
  • 5:54 - 5:55
    before they will be eligible to be staked.
  • 5:55 - 5:58
    Once a user has made a block
    and received a reward,
  • 5:58 - 6:01
    their coin age resets to zero,
    and that means that they have
  • 6:01 - 6:04
    to wait a certain amount of time again
    to participate and get block rewards.
  • 6:04 - 6:08
    On to the next consensus system, which
    is Delegated Proof of Stake or DPoS.
  • 6:09 - 6:11
    This consensus system was
    first used with Bitshares,
  • 6:11 - 6:14
    but now you can see it being used
    with projects like Lisk and Ark.
  • 6:14 - 6:17
    The difference between Proof of Stake
    and Delegated Proof of Stake
  • 6:18 - 6:22
    is the difference between direct
    democracy and representative democracy.
  • 6:22 - 6:24
    In a regular Proof of Stake consensus system,
  • 6:25 - 6:27
    every wallet that holds coins
    has the ability to stake.
  • 6:28 - 6:32
    In a Delegated Proof of Stake system,
    every wallet that holds a certain amount
  • 6:32 - 6:34
    of coins has the ability
    to vote on a delegate.
  • 6:34 - 6:36
    These delegates perform
    the functions of validating
  • 6:36 - 6:38
    transactions and maintaining the network.
  • 6:39 - 6:42
    They get to take the transaction
    fees as profit and this process is
  • 6:42 - 6:43
    called forging or minting.
  • 6:44 - 6:48
    The idea is then that the delegates
    will share the profit that they receive
  • 6:48 - 6:51
    as the transactions fees with
    the people who voted for them.
  • 6:51 - 6:53
    For us in the United States,
    this is almost identical to
  • 6:53 - 6:55
    how we receive representation in Congress.
  • 6:56 - 6:59
    So a small amount of people
    that are elected from our States
  • 6:59 - 7:01
    represent us in the different Houses.
  • 7:02 - 7:04
    And we've seen how well that goes over.
  • 7:04 - 7:08
    A cool upside to Delegated Proof of Stake,
    is because you're voting on someone
  • 7:08 - 7:11
    to do the transactions and
    to maintain the network,
  • 7:11 - 7:14
    you're wallet doesn't need to be on because
    somebody else is doing that work for you.
  • 7:14 - 7:16
    So you can still participate in the network
  • 7:16 - 7:19
    and you will still receive
    some sort of minting reward,
  • 7:20 - 7:23
    but your wallet doesn't have to be on which
    means your computer doesn't have to be on.
  • 7:23 - 7:26
    For people just entering the cryptospace,
    Delegated Proof of Stake may seem
  • 7:26 - 7:30
    like a better option because they can join
    staking pools meaning they don't have
  • 7:30 - 7:32
    to hold a lot and they can
    pool with other people.
  • 7:32 - 7:35
    Whereas with Proof of Stake,
    which I brought up before,
  • 7:35 - 7:38
    you have to hold a lot of the coin in
    order for it to really be profitable.
  • 7:39 - 7:42
    Depending on how much that project is,
    that could be a really hefty investment.
  • 7:42 - 7:46
    Delegated Proof of Stake gives people
    with a small or medium bag of the coins
  • 7:46 - 7:50
    an option to participate in the network,
    receive rewards, and incentivizes them
  • 7:50 - 7:51
    into buying into the project.
  • 7:51 - 7:53
    Some down sides to
    Delegated Proof of Stake.
  • 7:54 - 7:58
    The argument is by voting for delegates
    that we're concentrating the power
  • 7:58 - 8:02
    to a limited amount of people
    and thus kind of recentralizing
  • 8:02 - 8:03
    a decentralized cryptocurrency.
  • 8:03 - 8:07
    It could also suffer from the same issues
    that we see in the democratic party,
  • 8:07 - 8:10
    which is voters not being engaged
    and the system not working properly
  • 8:10 - 8:12
    because there's not enough
    community involvement.
  • 8:12 - 8:15
    If regular users fail to vote,
    there will be a tendency
  • 8:15 - 8:18
    for the network to fall into larger
    stakeholders who at that point
  • 8:18 - 8:20
    can just vote for themselves.
  • 8:20 - 8:22
    And we've actually already
    seen this happen.
  • 8:22 - 8:25
    I touched on this in my Lisk video,
    but there's a delegate group called Elite
  • 8:25 - 8:29
    and they stopped paying out people
    who vote for them unless they vote
  • 8:29 - 8:30
    for the entire group of Elite.
  • 8:31 - 8:34
    Meaning that gives them control and
    they're able to manipulate the network.
  • 8:34 - 8:37
    And for the last consensus system,
    which is a little bit lesser known,
  • 8:37 - 8:39
    is Proof of Activity (PoA).
  • 8:39 - 8:41
    And this is only found
    on the Decred network,
  • 8:41 - 8:43
    and I covered that topic not too long ago.
  • 8:44 - 8:46
    But basically what they do is
    they're trying to take the
  • 8:46 - 8:49
    best parts of Proof of Stake
    and the best parts of Proof of Work
  • 8:49 - 8:52
    and combining them into one network
    so that they work in harmony.
  • 8:52 - 8:56
    Proof of Work miners are creating blocks,
    and the job of the Proof of Stake miners
  • 8:56 - 9:00
    is to make sure that the Proof of Work miners
    are creating blocks that are consistent
  • 9:00 - 9:03
    with the desires of the people
    that are holding the currency.
  • 9:03 - 9:06
    Some downsides to Proof
    of Activity would be that
  • 9:06 - 9:10
    Decred's the only project running it right now,
    and that basically means that we don't
  • 9:10 - 9:15
    really know as far as Bitcoin level
    of transactions if the Decred network
  • 9:15 - 9:16
    would be able to handle that.
  • 9:16 - 9:19
    A more major criticism that I've
    read or seen online about
  • 9:19 - 9:21
    the Proof of Activity consensus system,
  • 9:21 - 9:25
    is that because it's using Proof of Work
    and Proof of Stake that there is just
  • 9:25 - 9:29
    kind ofa lot of moving parts going on
    and it's not as easy to get involved with
  • 9:29 - 9:33
    from the beginning, so it might be a
    deterent from new people from getting
  • 9:33 - 9:38
    interested because these things by themselves
    are difficult to understand so taking all
  • 9:38 - 9:40
    of those parts and putting them
    together makes it even worse.
  • 9:41 - 9:44
    So to finalize my points, obviously
    there's pros and cons to everything.
  • 9:44 - 9:48
    I think that Proof of Work
    definitely laid the groundwork
  • 9:48 - 9:52
    to come up with more interesting and
    more efficient consensus systems.
  • 9:53 - 9:55
    I think that eventually Proof
    of Work is going to be,
  • 9:55 - 9:59
    I don't want to say obsolete,
    but definitely less desirable
  • 9:59 - 10:04
    to use for the sole purpose of efficiency
    and the fact that it's just going to be
  • 10:04 - 10:06
    way too expensive to continue to do that.
  • 10:06 - 10:10
    Overall I think that randomized selection
    Proof of Stake consensus systems like
  • 10:10 - 10:13
    PIVX uses is going to be
    the best for longevity.
  • 10:13 - 10:16
    It incentivizes people to stay
    and help stabilize the network,
  • 10:17 - 10:20
    but it also gives everybody an honest shot
    at actually earning some block rewards.
  • 10:21 - 10:23
    I'm sure eventually there'll
    be more consensus systems,
  • 10:23 - 10:26
    and I may even have to do this video again,
    but for the time being I think I covered
  • 10:26 - 10:30
    the ones that are at least the most popular,
    and the ones that you're going to read
  • 10:30 - 10:31
    about the most online.
  • 10:31 - 10:32
    If any of you guys have any more questions,
  • 10:33 - 10:35
    please feel free to pop on
    over to my Discord server.
  • 10:35 - 10:37
    I'll leave the info in the description.
  • 10:37 - 10:40
    I want to thank you guys again for
    watching, and I'll see you guys soon.
Title:
Crypto 101: Proof of Whaa!?
Description:

more » « less
Duration:
10:41

English subtitles

Revisions