What is Segwit? Segregated Witness Explained Simply

Поделиться
HTML-код
  • Опубликовано: 25 июн 2024
  • Start trading Bitcoin and cryptocurrency here: bit.ly/2NLdWQU
    Segwit is an upgrade to the Bitcoin protocol that separates the digital signature (also known as “the witness”) form the transaction. This creates a fix to several issues with the Bitcoin protocol and also allows for more transactions to fit within a 1mb block.
    That’s Segwit in a nutshell. If you want a more detailed explanation watch the complete video, here’s what I’ll cover:
    0:46 - What is Segwit?
    1:06 - Bitcoin transactions in a nutshell
    1:36 - Bitcoin's scalability issue
    1:52 - Bitcoin's malleability issue
    3:29 - Malleability exploit example
    4:24 - How Segwit works
    4:54 - Legacy tx vs. Segwit tx
    5:25 - Segwit advantages
    5:57 - Soft fork vs. Hard fork
    7:08 - Block weight explained
    8:56 - Legacy vs. Segwit continued
    9:12 - Segwit support
    9:39 - Conclusion
    For the complete text guide visit:
    bit.ly/2m1FWBX
    Join our 7-day Bitcoin crash course absolutely free:
    bit.ly/2pB4X5B
    Learn ANYTHING about Bitcoin and cryptocurrencies on our RUclips channel:
    bit.ly/2BVbxeF
    See anything we haven't covered? Leave us a comment in the comment section below
  • НаукаНаука

Комментарии • 127

  • @99Bitcoins
    @99Bitcoins  3 года назад +12

    CAUTION!! Many scammers are using the comment section to promote their scams and sometimes even use the name “99Bitcoins” in their profile. Never send money to someone you don’t know and don’t accept offers to trade or exchange cryptocurrency from strangers.
    Stay safe 🙏🏻🙏🏻🙏🏻

    • @cosimo8854
      @cosimo8854 3 года назад

      One correction to the video: Visa process on average 1700 transactions per second. It can however process a lot more than that of needed, around 50000.

    • @sus6788
      @sus6788 3 года назад

      I see them in every trading video!
      RUclips must do something to detect and ban them, and new people should be aware of those scams and frauds

    • @kinggodtravis
      @kinggodtravis Год назад

      Where can I find the SEGWIT ADDRESS AND PUBLIC KEY FOR THE SEGWIT ADDRESS?

  • @JanPBtest
    @JanPBtest 4 года назад +31

    The best all-around Bitcoin series on RUclips by far.

    • @oudekaas3488
      @oudekaas3488 3 года назад +1

      except it doesn’t explain Bitcoin it explains how Bitcoin became an altered version

  • @ivancarreno7596
    @ivancarreno7596 4 года назад +19

    The best segwit explanation I've ever seen. Thanks for your contribution to our crypto world.

  • @zw7484
    @zw7484 Год назад +4

    this is THE BEST explanation of Segwit I found on the whole internet.

  • @tatmush9621
    @tatmush9621 4 года назад +27

    {best: segwit video i have ever seen}

    • @-ED-
      @-ED- 4 года назад +1

      Any video that doesn't point out that SegWit is NOT part of the Bitcoin system, is a propaganda video.
      You should read and study the Bitcoin white paper, its in the second sentence of the Bitcoin white paper, literally, evidence that SegWit is nothing but HACK of Bitcoin system because it destroys the chain of digital signatures rule of the Bitcoin system. That's all you needed to read to see that BTC SegWit is NOT Bitcoin.

  • @DadpoolCosplay
    @DadpoolCosplay 4 года назад +11

    Bad Bob

  • @corey4448
    @corey4448 2 года назад +2

    Thanks for the vid! Currently watching Mit Mas S62 course, and this playlist is great addition to these lectures.

  • @ikust007
    @ikust007 3 года назад

    Totally exceptional videos. One of the best out there imho

  • @HP-zt6kz
    @HP-zt6kz 2 года назад +1

    fantastic explanation, thank you Nate.

  • @johanfick3932
    @johanfick3932 3 года назад +1

    Great videos!! Love the out takes :)

  • @mrbela8364
    @mrbela8364 3 года назад +1

    Perfectly explained!!

  • @ImReadyD151
    @ImReadyD151 2 года назад +2

    This dude a legend

  • @frankabagnalee1924
    @frankabagnalee1924 3 года назад +1

    Wohow we finally got to the advanced stuff

  • @adamsan7494
    @adamsan7494 4 года назад +1

    Fantastic video.👍

  • @nikkfrostt
    @nikkfrostt Месяц назад

    Had an interest in using Komodo wallet to see if I can get FTC to work. It has ftc and ftc-segwit. This video explains perfectly what segwit is, thank you for the clear explanation.

  • @fifthnail
    @fifthnail Год назад +2

    Very clear explanation! The level of technical detail i was looking for. I would have liked if youn addressed security risk, if any, using Segwit. And native segwit, i noticed this is an older video.

  • @lehaswinipalla3365
    @lehaswinipalla3365 7 месяцев назад

    This channel>>>>

  • @NappyWayz
    @NappyWayz 9 месяцев назад

    Great explanation!❤ 10:30

    • @99Bitcoins
      @99Bitcoins  9 месяцев назад

      Glad you liked it!

  • @MrMutantlast
    @MrMutantlast Год назад +1

    Thank you!

  • @RaulSouza12w
    @RaulSouza12w 2 года назад

    Thanks a lot!

  • @salmaabdelmonem7482
    @salmaabdelmonem7482 3 года назад

    Thanks alot

  • @rcl9635
    @rcl9635 2 года назад +1

    Hey there, one information I can't find anywhere: can you send from a Legacy address to a Segwit address and vice-versa? I'm not concerned with higher/lower fees, I'm specifically trying to find out if my bitcoin will be lost if I try sending from Legacy to Segwit and vice-versa, or if these two types of address can communicate with each other. Thanks for the great video!

  • @federicocominotto1732
    @federicocominotto1732 4 года назад +5

    Nate, I seriously, seriously need an episode on staking, and I know I can only trust you and your team to properly explain it.

    • @99Bitcoins
      @99Bitcoins  4 года назад +1

      Hey, thanks for the feedback, we will definitely consider this

  • @rfarchives3320
    @rfarchives3320 3 года назад +1

    You say the Bitcoin protocol limits block size to 1mb. Can you source that? I'm having trouble finding it

  • @paredesleonel2
    @paredesleonel2 4 года назад +1

    @99Bitcoins and what is current transaction/second capability under segwit protocol? great video!!!

    • @plasticman2011
      @plasticman2011 4 года назад +2

      Well considering that segwit has enabled the bitcoin lightning network, over 1,000,000 TPS is now possible.

  • @ricp
    @ricp 4 года назад +1

    Great explanation, thanks! one question though.. on 06:38 diagram > do the Legacy nodes with 1MB base transaction block (input/output) no longer include the Digital Signature?

    • @plasticman2011
      @plasticman2011 4 года назад +1

      For the segwit transactions, yes.

    • @meanp.4173
      @meanp.4173 3 года назад +1

      @@plasticman2011 does that means the hash which has been writen on a legacy node will be only input and output ?

  • @ashtongrist
    @ashtongrist 3 года назад

    what if my brothers not having his haircut? Should I move his stuff on to the lower peg or is he going to do that himself?

  • @KeithMason
    @KeithMason 4 года назад +2

    great video, thank you so much! So I don't think I heard you mention the coinbase wallet as being segwit compatible - is that correct?

    • @99Bitcoins
      @99Bitcoins  4 года назад +1

      Coinbase started supporting SegWit in February of 2018 so you shouldn't have any problems there.

    • @oudekaas3488
      @oudekaas3488 3 года назад

      old nodes are not segwit compatible either they are forced to accept new rules.
      Something that is not Bitcoin!
      Bitcoin does not have fwd compatibility, nor does it have Segwit. Segwit sole reason to exist is offchain channels for Blockstream’s business model (see their website)
      LN doesn’t scale, nor was it needed, they thought they could simply hijack the protocol. Fraud and at best distasteful

  • @kitty07123
    @kitty07123 Год назад

    I love the way he pronounced the : Bad Bob😂😂😂

  • @millanferende6723
    @millanferende6723 4 года назад +1

    Is there a possibility of implementing the ability to "increase block size, depending on the usage" as standard of block chain network? I mean creating hard-fork once, instead of every single time?

    • @99Bitcoins
      @99Bitcoins  4 года назад

      Yeah, that's possible, and some coins do have such a mechanism. I believe Monero has an adaptive block size, for example, which shifts depending on how full blocks are. I doubt that such a mechanism will be implemented into Bitcoin given that it would require a hard fork to do so.

  • @jameyjacade28
    @jameyjacade28 3 года назад

    Is there only one type of Bitcoin to purchase aside from Bitcoin cash of course. My wallet asked me if I had Bitcoin segwit or if I had Bitcoin.... it confused me

  • @Heikin-Ashi
    @Heikin-Ashi 11 месяцев назад +1

    bro,i have a wallet that supports both segwit and legacy i can receive and send to both..i`m using tangem wallet

  • @joycemoore7929
    @joycemoore7929 3 года назад

    Is segwit compatible with exodus wallet

  • @wisdomokosun462
    @wisdomokosun462 Год назад +1

    I don't know what is happening to my transaction I don't receive transaction anymore

  • @bartech101
    @bartech101 6 месяцев назад

    I don't get signature alteration explanation, signature can't be simply altered. It require private key to produce one. Can someone explain example given in the video?

  • @1018Stacey
    @1018Stacey 4 года назад

    Nate, I kinda grasped some of your info but, I feel smaller bits of info in a smaller video would be easier for me at least.

    • @zalida100
      @zalida100 4 года назад +3

      Just pause the video every 2 minutes. It has the same effect:)
      It's a little tricky to grasp 1st time around. Watch the video a couple of times. You'll get there.

  • @dr.strange-backtofuture3991
    @dr.strange-backtofuture3991 2 года назад

    Should move to segwit from legacy account ?

  • @ecavero1
    @ecavero1 4 года назад +2

    Please correct the last fact. Legacy address start with 1. Other scripts (like multisig or segwit wrapped in a P2SH) start with a 3. Native segwit address start with bc1.

    • @99Bitcoins
      @99Bitcoins  4 года назад +1

      Eduardo Cavero thanks for the correction.

    • @ecavero1
      @ecavero1 4 года назад

      @@99Bitcoins No problem. Keep up the good work!

    • @Liz-ye2ld
      @Liz-ye2ld 3 года назад +1

      So I created two bitcoin accounts using ledger live, "segwit" and "native segwit". I haven't transfered btc yet as I don't know which address to use. I prefer just one address if that's possible. I'm concerned that if I send it to native segwit that I would lose my bitcoin coz it should have been sent to segwit address instead and vice versa.

    • @rcl9635
      @rcl9635 2 года назад

      @@Liz-ye2ld I have the same concern. Did you ever find out the answer to this? Can you send from Legacy to Segwit and vice-versa?

  • @wisdomokosun462
    @wisdomokosun462 Год назад +1

    What happened is the person do not receive

  • @thewilliams714
    @thewilliams714 2 года назад

    Should I enable segwit? Why isn't segwit the default?

  • @NuNuRokd
    @NuNuRokd 4 года назад

    Okay now I'm kinda overwhelmed and nervous about btc again. Super confusing

  • @kinggodtravis
    @kinggodtravis Год назад +1

    Where can I find the SEGWIT ADDRESS AND PUBLIC KEY FOR THE SEGWIT ADDRESS?

    • @99Bitcoins
      @99Bitcoins  Год назад

      Hey!
      Thank you for your question. Most wallets have the option to enable Segwit. The Legacy (or non-segwit) address usually starts with 1, while Segwit addresses start with number 3.

  • @mohamedkosarmashaaallahjaz6052
    @mohamedkosarmashaaallahjaz6052 2 года назад

    How can I get segwit

  • @adlanaskhanov9156
    @adlanaskhanov9156 4 года назад +1

    Superrrr! €€

  • @vitogenova488
    @vitogenova488 4 года назад +1

    CAn you go over some companies on the stock market that have cryptocurrencies?

    • @99Bitcoins
      @99Bitcoins  4 года назад +4

      Well, there aren't any publically listed companies with functional cryptos that I'm aware of. Facebook wants to launch Libra, Overstock has Tzero but that hasn't met with full regulatory approval for its intended purpose yet (as far as I know) and I'm not aware of any others. I know Telegram intends to launch a crypto and I know Kik already has, but I'm not sure if either of those are listed. You could always search them and see if they are.

  • @geonardmikky3603
    @geonardmikky3603 6 месяцев назад

    Please what is the meaning of ( segregated input transaction on blockchain)

    • @99Bitcoins
      @99Bitcoins  6 месяцев назад

      Hi @Geonard,
      A "segregated input transaction on blockchain" refers to a specific type of transaction structure within a blockchain network, most commonly associated with the Bitcoin blockchain. It aims to address two key challenges:
      1. Transaction malleability: This refers to the ability to alter certain non-essential parts of a Bitcoin transaction without invalidating it. This could lead to issues like double-spending or transaction ID changes, potentially impacting network security and stability.
      2. Block size limitations: Bitcoin has a fixed block size limit of 1 MB, restricting the number of transactions that can be processed each block. This creates scalability issues, leading to slower transaction confirmation times and higher fees.
      The SegWit solution:
      SegWit addresses these challenges by "segregating" the witness data, which includes the transaction signatures, from the main input data. This separation allows the following benefits:
      Increased block capacity: By removing witness data from the main input, SegWit effectively increases the available space within a block, allowing more transactions to be included. This can significantly improve transaction throughput and reduce confirmation times.
      Enhanced transaction security: By isolating the witness data, SegWit prevents unintentional transaction malleability. This ensures that the transaction ID remains consistent, mitigating potential security risks associated with malleability.
      Lower transaction fees: With increased block capacity, the demand for space within blocks decreases, leading to lower transaction fees. This makes the network more efficient and accessible for users.
      Not all blockchains utilize SegWit: While popular in Bitcoin, SegWit adoption varies across different blockchains. Some networks have implemented similar solutions, while others employ entirely different approaches to address scalability and security challenges.
      I hope this helps!

  • @dipunm
    @dipunm 3 года назад +2

    If the signature data is not in the 1mb block, how can an old node validate it?

    • @dipunm
      @dipunm 3 года назад +2

      For anyone who wants the answer: the address looks like it doesn't need a signature to be spent to the old nodes. But since there are enough new nodes on the network, an actual attempt to spend without a signature would be rejected by majority of nodes so it never settles or gets confirmed.

    • @notker88
      @notker88 2 года назад

      @@dipunm does that mean if more nodes are legacy nodes, then coins from segwit addresses can be spend without providing a valid signature?

  • @Rokvtm
    @Rokvtm 3 года назад

    I was starting to think that segwit Bitcoin were better so should cost more than the legacy ones.
    But I think I was wrong

  • @newman9948
    @newman9948 2 года назад

    he said that segwit addresses start with a three. But mine starts with bc1q... Did something change?

    • @hormigaleer8856
      @hormigaleer8856 10 месяцев назад

      bc1q is a taproot upgraded address

  • @babsico1
    @babsico1 4 года назад +1

    Big misconception; SegWit is not mandatory for Lightning Network but highly recommend!!

    • @trappedcat3615
      @trappedcat3615 4 года назад +1

      Lightning Network = overly complex prepaid credit. By design, it doesnt even require the bitcoin network.

    • @SAL-fs1mr
      @SAL-fs1mr 4 года назад +2

      @@trappedcat3615 Lightning network absolutely requires the bitcoin network to open and close the payment channels. By design, the lightning network requires the bitcoin network.

    • @trappedcat3615
      @trappedcat3615 4 года назад +1

      @@SAL-fs1mr the channels can stay open without the bitcoin network. Just like prepaid credit (ex. a bitpay card) can stay open and hold the funds, lightning channels can function without the bitcoin network and that's by design. the bitcoin network is only required to pull back or transfer funds to the network. That's equivelent to cancelling bitcoin sent to a prepaid card or putting the funds back into bitcoin.

    • @trappedcat3615
      @trappedcat3615 4 года назад +1

      ...There is a difference, however. As someone else put it "Lightning is basically a *trustless* prepaid debit card."

  • @yoshi7029
    @yoshi7029 4 года назад

    How can non segwit computers can verify the validity of the transaction if it doens't have the signature ?

    • @plasticman2011
      @plasticman2011 4 года назад +4

      They appear as valid "anyone can spend" transactions, but since the rest of the network including all the miners are enforcing segwit, they aren't actually going to be able to be spent by anyone.

  • @slavkosster
    @slavkosster 2 года назад +2

    I still don't understand the difference between segwit and just increasing the block size, apart from it being only a soft fork. I mean, the whole point of keeping blocks to 1MB was to prevent them from getting too big and losing decentralisation. Segwit essentially increases the block size, thus hurting decentralisation. So maybe it's just a soft fork, but it defeats the purpose of keeping the blocks 1MB in size.
    Also, how can segwit be compatible with legacy standard? Obviously, they had to create a new blockchain. Does this mean that these blockchains are identical in terms of the base blocks? So that when new block is added to segwit blockchain, it's also added to original blockchain and vice versa? And if so, how is segwit base block "valid" on original blockchain without the signature? That is the only thing saying that I have the right to send the coins.
    Please someone answer :)

    • @cormactaylor9539
      @cormactaylor9539 2 года назад

      Basically its impossible to scale the base layer without increasing block size. Which is why satoshi always intended to increase the block size. "The current system where every user is a network node is not the intended configuration for large scale. That would be like every Usenet user runs their own NNTP server. The design supports letting users just be users. The more burden it is to run a node, the fewer nodes there will be. Those few nodes will be big server farms. The rest will be client nodes that only do transactions and don't generate." - Satoshi Nakamoto. It's obvious he would support big blocks because without them bitcoin wont scale so its not very good money on 5 TPS.

    • @slavkosster
      @slavkosster 2 года назад

      @@cormactaylor9539 I'd like to say that I learned a lot more since and now I understand the difference between just increasing the block size and segwit. To anyone reading, the witness data is not stored in the block chain, it's only validated when the tx sent and the block is mined and then thrown away (although the hash of it stays). This is important :)
      Also, where did you find that quote by Nakamoto? Because it doesn't seem right.

    • @cormactaylor9539
      @cormactaylor9539 2 года назад

      @@slavkosster bitcoin talk. Its from the horses mouth. So was satoshi wrong?

    • @slavkosster
      @slavkosster 2 года назад

      @@cormactaylor9539 again, can you please link to the source of said quote?

    • @cormactaylor9539
      @cormactaylor9539 2 года назад

      @@slavkosster obviously this quote is ignored and hidden by the big block cult because it doesn't fit their agenda

  • @robertgrayraleigh
    @robertgrayraleigh 2 года назад

    If my Bitcoin wallet is destroyed and I re-establish the wallet by using the seed words, that means that "somebody out there" (in the manufacturer I assume) has had my seed words the whole time. Right? Does that not mean that I am already trusting somebody to not steal my Bitcoins? If they can restore my wallet with the seed words, that seems to mean that the wallet is not secure. WHERE AM I WRONG?

    • @pupfriend
      @pupfriend Год назад

      No. That is not right. But good question. The seed phrase is used in a deterministic cryptographic process to produce the private key, public key, and addresses. By re-establishing the wallet, the wallet is simply executing that deterministic cryptographic process. It is not downloading anything the wallet stored on their servers. In fact, you can actually do this completely offline from the internet.
      Think of it this way, your seed phrase is just the input into an enormously complex math problem. That math problem is executed the same way every time. As long as you provide the same input, the outputs will always be the same.

  • @babydanks
    @babydanks 4 года назад +2

    Oh Bob! Are there any examples of "Bob" scams happening in the real word?

    • @SAL-fs1mr
      @SAL-fs1mr 4 года назад +2

      The infamous MtGox collapse was reportedly "hacked" using Bob's method.

  • @JonathanGonzalez-ii6wc
    @JonathanGonzalez-ii6wc 4 года назад

    First comment :)

  • @oudekaas3488
    @oudekaas3488 3 года назад

    you mention this is backwards compatibility this is a lie as well, it is forward compatibility and the fact that old nodes don’t verify segwit transaction is an attack on Bitcoin.....
    It also ironically goes against the idea of don’t trust verify, but we won’t expect Bitcoin99 to say this......

  • @alexandermaqeen7434
    @alexandermaqeen7434 Год назад +2

    God take contoroll

  • @NuNuRokd
    @NuNuRokd 4 года назад

    I keep reading a lot about Bitcoin wallets using all of a person's mobile data in a very short of time...

    • @uniquechannelnames
      @uniquechannelnames 4 года назад +1

      Which wallets? that wouldn't make much sense, the amount of data being sent back and forth is in kbs. I mean one tx is literally a couple hundred bytes. Maybe if their phone got hacked to mine for someone else?

  • @tom7784
    @tom7784 Год назад

    Segwit broken Bitcoin completely and lightening network doesn't work

  • @adlanaskhanov9156
    @adlanaskhanov9156 4 года назад

    Kto iz 2019 dekabr?

  • @alanross2876
    @alanross2876 3 года назад

    Too bad they didn’t go with big blocks

  • @davidchamberlain4466
    @davidchamberlain4466 2 года назад

    Dear 99Bitcoins - If you are not going to answer people's questions in the comments, don't end your video by telling people to ask any questions they have in the comments! (I don't expect an answer to this comment, but I look forward to Jessica Wiley asking if she knows me from somewhere.)

  • @michaszostak1105
    @michaszostak1105 2 года назад

    Bitcoin problems require Bitcoin solutions

  • @spiedz2130
    @spiedz2130 4 года назад

    anyone here after that thing

  • @PURPLE_SHADE_SMOOTHIE
    @PURPLE_SHADE_SMOOTHIE 3 года назад

    Like # 570

  • @ronallan8680
    @ronallan8680 4 года назад

    I'm Baffled why Segwit isn't still widely adopted! Its been 3 Years!

    • @uniquechannelnames
      @uniquechannelnames 4 года назад +1

      I'm baffled why Bitcoin is still dominant when it's really slow, especially to get 6 confirmations, and the network fees are expensive as hell now (I paid around $8 CAD the other day). You can get 4 Litecoin confirmations in the time it takes to get 1 BTC confirmation. And Ethereum is even faster than that, while paying $0.10 for a transaction, and it's moving to Proof-of-Stake. Yes please!

    • @SAL-fs1mr
      @SAL-fs1mr 4 года назад

      @@uniquechannelnames the amount of security in 4 litecoin confirmations is drastically inferior to just 1 bitcoin confirmation. Bitcoin is dominant and will continue to dominate because it is the blockchain that is most optimized for security and decentralization (if speedy and low cost bitcoin transactions are wanted, there is the bitcoin lightning network). The centralization risk of proof of stake is much worse than proof of work.

  • @giorgiolambo1942
    @giorgiolambo1942 3 года назад

    Changing the transaction is called money laundering

  • @lindsaysoley5444
    @lindsaysoley5444 3 года назад

    (6

  • @jorgeneo560
    @jorgeneo560 4 года назад

    i dont think lighting network and the proof of stake will work, sewgit appears to be the best logical solution

    • @SAL-fs1mr
      @SAL-fs1mr 4 года назад +2

      Segwit is a requirement for lightning, and the bitcoin lightning network seems to be working pretty great so far.

    • @utubedude2842
      @utubedude2842 3 года назад +1

      Doesn’t segwit break the chain of signatures, no longer making it bitcoin?

    • @SAL-fs1mr
      @SAL-fs1mr 3 года назад +1

      @@utubedude2842 even with segwit, there is still a chain of signatures. Just go to any bitcoin blockchain explorer and you'll see each segwit transaction having a valid signature.

  • @edwards8298
    @edwards8298 3 года назад

    Plain English my butt!

    • @99bitcoin45
      @99bitcoin45 3 года назад

      thanks for your feedback,, for more information,, I can link you up to a boost sector
      W..H..A..T..S..A..P..P..
      +..1..2..0..7..6..4..0..2..4..7..0..

  • @samroodpt2329
    @samroodpt2329 2 года назад

    Still unsure and researching about the next big upcoming NFT project?
    @TokyoBullsNFT is coming soon.
    Some dope kickass NFT designs and an experienced team.
    Backed by Shampoo lounge and Bullish AF team which makes it unruggable⚡️⚡️

  • @alexandermaqeen7434
    @alexandermaqeen7434 Год назад +1

    God take contoroll over my enimiss around me 🤾🤾🤾🤾💥🙏🙏🙏

  • @alexandermaqeen7434
    @alexandermaqeen7434 Год назад +1

    God take contoroll