Bitcoin Forks and SegWit




  • We are going to study the bitcoin forks and Segregated Witness (SegWit).
 Bitcoin Forks and SegWit

Bitcoin Forks and SegWit

Bitcoin Forks

  • A fork may be a change to the digital currency software which creates two different paths of the blockchain with a shared history.
  • The forks can be temporary, or lasting for a few minutes, or often permanent.
  • There are many reasons why a fork happens. The changes made to the bitcoin software can require either a Soft Fork or Hard Fork.
 Bitcoin

Bitcoin

Soft Fork

  • A soft fork introduces a change which is backwards compatible with the previous version.
  • It means there's no need to upgrade the older version of the bitcoin software necessarily.
  • The users who are running the older version of the software will still recognize new blocks created by computers. It's called soft because both groups of users (old and new users) will still mine new blocks on an equivalent blockchain.
  • As they continue to be a part of the same network, a soft fork will never end in the formation of a new digital currency.
  • A soft fork is taken into account complete when the majority of nodes within the bitcoin network have updated their software.
  • If this does not happen, the minority group may eventually plan to abandon the proposed update or move to implement a tough fork instead.

Hard Fork

  • A hard fork introduces a change that forces everyone to upgrade the software. The hard fork isn't backwards compatible with older versions of the software.
  • The users who are running the older version of the software within the Bitcoin network must upgrade their software to acknowledge new blocks.
  • As a result, hard forks cause a split within the blockchain network with a group of users to make a cryptocurrency.
  • The new network takes a particular copy of the blockchain because it was at the point of the split, and then, both versions remain separate.
  • Users who owned bitcoin at the time of the split can often claim new coins on the forked network.

List of Bitcoin Forks

  • Bitcoin forks are defined variantly as changes within the protocol of the bitcoin network or because the situations that occur "when two or more blocks have an equivalent block height".
  • A fork influences the validity of the rules.
  • Forks are typically conducted so as to add new features to a blockchain, to reverse the consequences of hacking or catastrophic bugs.
  • Forks require consensus to be resolved or else a permanent split emerges.
    • Forks of the client software
    • Intended hard forks splitting the cryptocurrency
    • Intended soft forks splitting from not-most-work block
    • Unintended hard forks

Segregated Witness

 SEGWIT

SEGWIT

  • The concept of Segregated Witness is invented by Pieter Wuille, who may be a part of the bitcoin core development team since 2011.
  • SegWit(Segregated Witness) may be a protocol upgrade that changes the structure of bitcoin transaction data.
  • It had been activated on bitcoin on 23 August 2017 and characterized as a soft fork within the bitcoin chain, it's been widely accepted by bitcoin miners and users.
  • The segregated witness improves the scalability of bitcoin without increasing the block size.
  • If it's activated, then it'll fixed transaction malleability. It does this by allowing transaction-producing software to separate transaction signatures from a part of the data in a transaction that's covered by the transaction id and storing it outside the base transaction block.
  • The soft fork that was represented for segregated witness doesn't require upgrading to remain on the blockchain.
  • It means if miners haven't upgraded the segregated witness can still remain on the blockchain.
  • They will not have access all the functionality that segregated witness can provide and also having the ability to participate in segregated witness transaction.
  • They might still be ready to validate the block that doesn't include the segregated witness information in them.
  • We analyse about the segregated witness. It allow us to first understand the contents of the bitcoin transaction. There are three main components of the bitcoin transaction. They are
    • Input : Where the coin/funds are coming from.
    • Amount : How many bitcoins are coming from the source
    • Output : Where that bitcoin is actually headed.
  • A transaction is very almost like a check, which contains inputs, amount, and output.
  • For the transaction to happen, someone who has bitcoin must sign that transaction. The signature makes sure that your bitcoin can't be used by someone who isn't authorized. It's because you've got the private keys which will be controlled by you simply.
  • Now in SegWit transaction, the digital signature must be segregated from the transaction data.
  • It might increase the 1 MB limit for block sizes. The digital signature freezes up about 60-65% of the space during a given transaction.
  • SegWit transaction ignores the data attached to a signature by pulled out the signature from within the input and moving it to a structure towards the end of a transaction.
  • It also solves the matter where a receiver could intercept and modify the sender's transaction ID to get more coins from the sender.
  • Since the digital signature would be detached from the input, the unauthorized party would haven't any way of changing the transaction ID without also nullifying the digital signature.


Related Searches to Bitcoin Forks and SegWit