Bitcoin Scaling Explained: Big Blocks vs. SegWit - YouTube

Channel: World Crypto Network

[0]
Understanding SegWit. In order to understand Segregated Witness, or "SegWit" for short,
[6]
we first have to understand a little bit about Bitcoin.
[10]
Think of Bitcoin as a single global ledger and a Bitcoin transaction as a bank check.
[15]
As the owner of some amount of money, you can sign over your money to someone else.
[21]
Much like a bank check, a Bitcoin transaction has a signature.
[25]
Instead of a physical signature, you can create a digital signature using your private key.
[32]
A Bitcoin block is like a box of signed checks or transactions.
[37]
Much like physical boxes in the real world, Bitcoin blocks have a limit on how many
[43]
transactions they can contain. Right now, those boxes come in a standard 1MB size.
[49]
You can put just a few checks into the box so that it's almost empty, but you can't overfill the box.
[56]
To keep the global ledger consistent and cheat-proof, everyone that wants to can audit these boxes of checks.
[65]
A copy of the box of checks is sent to anyone that wants to audit the ledger.
[71]
If, in an audit of these boxes of checks,
[74]
someone found out that one of the checks overspent, they would reject the box.
[79]
This is important - since otherwise, people would start writing bad checks.
[84]
We also need to audit fairly often so people can actually have a good idea of how much money they have.
[90]
So, we send the boxes of checks to everybody for auditing every 10 minutes.
[97]
The Scaling Debate.
[100]
Because there's a limit to the box size, there's a limit to how many checks that can clear in a
[104]
timely manner. That is, the throughput of Bitcoin transactions is limited.
[110]
The scaling debate that's been going on for the past few years in Bitcoin is really
[114]
about how to get more transactions through the system.
[119]
The two solutions that groups came up with can be thought of in two ways. The first solution is to
[125]
make the box sizes bigger. This is great if everybody is forced to use a larger box,
[130]
but there are some problems with this idea. If, for example, some people kept
[136]
using the smaller box, they would reject the bigger boxes. This would create two
[141]
different ledgers. Additionally, even if everyone used the bigger box, a lot of
[146]
people checking the ledger would not receive the bigger boxes in time to
[150]
examine that all the checks were valid. Ten minutes is too little time to
[155]
receive and audit the box for some people. The main advantage of making the box
[161]
bigger is that it's a relatively simple change. There aren't new style checks to
[166]
worry about and everything can operate as before. "Bitcoin Cash" is essentially
[171]
using the solution by lifting the one megabyte block size limit and
[175]
implementing an 8 megabyte block size instead. The second solution is to
[180]
introduce a new style of check, which we will call "SegWit." We could still make
[186]
larger boxes available but only to those that want them. This new check cuts away
[191]
the signature part of the check for those receiving the smaller boxes. In the
[196]
digital check, the signature takes up about 50% of the transaction. Segwit
[203]
cuts the check in half and sends everything but the signature to everyone
[207]
that's accepting the old, smaller box. We send the entire check, including
[212]
signatures, to everyone that's accepting the new, larger box.
[216]
Given that the checks are half the size in the smaller boxes we can fit about
[221]
double the number of checks in the smaller boxes, increasing throughput.
[225]
Anyone that's receiving the larger box could audit everything in the boxes as
[229]
normal; anyone receiving the smaller box could still audit without worrying
[233]
about getting the signatures in time. Because we are accommodating the people
[238]
who aren't using the newer, bigger box, "SegWit" is backwards-compatible.
[244]
That means everyone will have the same copy of the ledger no matter what size box they're using.
[250]
The main drawback to Segwit is that
[252]
everyone will have to get used to the new style of checks before we see some
[257]
gains in throughput. It's also been more complicated than just making everyone
[261]
use a larger box. Additionally, everyone receiving the new
[266]
style checks, but using a smaller box, won't get to audit the signature since
[271]
they won't receive them. Bitcoin is using the new check solution.
[280]
If you would like to see more videos like, this please donate!