Segregated Witness (SegWit): Definition (2024)

What Is Segregated Witness (SegWit)?

Segregated Witness (SegWit) refers to a change in the way transactions were signed by witness nodes. Its stated purpose as a protocol upgrade was to protect againsttransaction malleability and decrease transaction times by increasing block capacity. Transaction malleability is the possibility that tiny pieces of transaction information could be changed, invalidating new cryptocurrency blocks.

It was also intended to speed up the validation process by storing more transactions in a block.

Key Takeaways

  • Segregated Witness (SegWit) refers to a change in Bitcoin's transaction format where the witness information was removed from the input field of the block.
  • The stated purpose of Segregated Witness is to prevent non-intentional Bitcoin transactionmalleability and allow for more transactions to be stored within a block.
  • SegWit was also intended to solve ablockchainsize limitation problem that reduced Bitcoin transaction speed.

Understanding Segregated Witness (SegWit)

Blockchain networks such as Bitcoin consist of thousands of computers that work as validators for the blocks created by miners. These computers are called nodes, each keeping a complete record of every transaction. This record is called ablockchain.

After gaining popularity, the Bitcoin network faced several problems. One was that more transactions were occurring, which created longer waiting times for users and higher fees as users would pay more to have their transactions prioritized. Bitcoin blocks are created about every 10 minutes and used to be constrained to a maximum size of one megabyte (MB). Due to this constraint, only a limited number of transactions could be added to a block.

The number of transactions being conducted was weighing down the network and causing delays in processing and verifying transactions. Without SegWit's implementation, Bitcoin transaction validation would have slowed to a crawl as the cryptocurrency grew in popularity and the number of transactions increased.

SegWit was created by Bitcoin developersPieter Wuille, Eric Lombrozo, and Johnson Lau. Wuilleis also the co-founder ofBlockstream, a software company specializing in digital security for financial services.

The SegWit protocol divides the transaction into two segments. The unlocking signature (the "witness" data) is removed from the original portion, but it remains a part of the blockchain as a separate structure at the end. The original portion holds the sender and receiver data, while the separate structure at the end (the "witness" structure) contains scripts and signatures.

As a result of this segregation of data, more space is created, and more transactions can be added to the blockchain.

Goals of SegWit

To understand the goals behind SegWit's implementation, it's essential to understand what's going on behind the scenes that makes it useful.

The Main Issue SegWit Addressed

When one user sends another user some Bitcoin, two pieces of information are required: a public address and a private key. A public address is a digital identifier for the entities involved in the transaction. Every user has apublic address toreceiveand send Bitcoin, and the entire network can see these addresses. Private keys cannot be seen—they are used as verification that the public addresses belong to a user.

On a basic level, SegWit is a process that changes how some data are stored, helping the Bitcoin network to run faster.

The process for transferring Bitcoin starts when one user broadcasts a request to the network. This request includes the user's public address, the amount of Bitcoin being sent, and a transaction fee for the miners.

Next, miners process the transaction; information from both users is encrypted, which means the data is turned into a line of computer code called thetransaction ID. At this point, the transaction is queued. Transactions are added to the queue and placed into a block when it is created by order of priority.

Finally, the block is broadcastto the nodes; if more than half of all nodes agree that the information is valid, the block is confirmed and added to the blockchain. At this point, the Bitcoin has successfully been transferred between users. In the past, each transaction included a digital signature that allowed the transaction to occur. This increased the transaction size in terms of storage, which took up valuable block space.

Over time, the network began to experience a slowdown in the number of transactions it could process as Bitcoin became more popular. Developers traced this issue back to the size limit of the blocks within the blockchain.

How SegWit Addressed the Issue

SegWit was the solution to ablockchainsize limitation problem that reduced Bitcoin transaction speed. Bitcoin developer Dr. Pieter Wuille suggested that to solve this problem, the digital signature of the transaction witness needed to be segregated from the transaction data, and the block size needed to be adjusted.

SegWit moves the signature outside of the transaction data. This reduces the size required for transaction storage. Bitcoin used to have a block size limit of 1 MB, but this changed as SegWit became accepted through the network.

Bitcoin transitioned to a block weight limit under SegWit of 4 million weight units (WU). Because old blocks were limited to 1 MB, many cryptocurrency fans believed that 1 MB equals 1 million WU (the non-SegWit block limit) and then correlate the 4 million WU limit to an increase of block size to 4 MB. While there was a block size increase following SegWit's adoption, the limit is not in megabytes.

For example, block 720399 was mined on Jan. 25, 2022. It had a size of 1.558 MB but was 3.993 million WU. Block 720340 was mined 21 minutes later and was 1.457 MB with a weight of 3.993 million WU. Earlier the same day, a block was mined with a size of 1.188 MB, with 3.993 WU. This demonstrates that there is not necessarily a size limit in megabytes but a limit based on the weight, taking the block's base size and total size into account.

This creates more space for data, which increases the speed of transaction validation. SegWit also paved the way for Bitcoin to upgrade to another version, Taproot, which also enhanced smart contract functionality.

What Does Segwit Mean in Crypto?

SegWit is a combination of the words "segregated" and "witness." It refers to Bitcoin's blockchain improvements, which prevent transaction malleability, increase the network's speeds, and decrease fees.

What Are the Benefits of Segwit?

The cryptocurrency community still debates whether SegWit is good or bad, but security enhancements and decreased transaction times benefit the blockchain, miners, and nodes that accept it. SegWit led to the implementation of Taproot, an upgrade to Bitcoin built upon SegWit that allows for even faster validation.

Does Blockchain Support Segwit?

SegWit was a technique that could be adopted by blockchains that faced similar issues to Bitcoin in the past. Other chains implemented it, while others didn't need to or found other ways to improve performance.

The Bottom Line

Segwit was an improvement to the Bitcoin blockchain. It moved transaction signatures to another field within blocks and changed block size limitations by assigning a weight rather than a size limit. This reduced transaction wait times and fees.

The comments, opinions, and analyses expressed on Investopedia are for informational purposes online. Read ourwarranty and liability disclaimerfor more info.

Segregated Witness (SegWit): Definition (2024)
Top Articles
Leveraging SVG in React Native: A Comprehensive Guide
July 30-31, 2024 FOMC Meeting
Bubble Guppies Who's Gonna Play The Big Bad Wolf Dailymotion
417-990-0201
Kevin Cox Picks
Was ist ein Crawler? | Finde es jetzt raus! | OMT-Lexikon
Winston Salem Nc Craigslist
Bloxburg Image Ids
2022 Apple Trade P36
Assets | HIVO Support
David Turner Evangelist Net Worth
SXSW Film & TV Alumni Releases – July & August 2024
Blackwolf Run Pro Shop
"Une héroïne" : les funérailles de Rebecca Cheptegei, athlète olympique immolée par son compagnon | TF1 INFO
Parent Resources - Padua Franciscan High School
Craigslist Free Stuff Merced Ca
Ukc Message Board
Concordia Apartment 34 Tarkov
SuperPay.Me Review 2023 | Legitimate and user-friendly
Bn9 Weather Radar
Arrest Gif
Skymovieshd.ib
Combies Overlijden no. 02, Stempels: 2 teksten + 1 tag/label & Stansen: 3 tags/labels.
Jailfunds Send Message
In hunt for cartel hitmen, Texas Ranger's biggest obstacle may be the border itself (2024)
Courtney Roberson Rob Dyrdek
Math Minor Umn
Abga Gestation Calculator
Ducky Mcshweeney's Reviews
Rogers Centre is getting a $300M reno. Here's what the Blue Jays ballpark will look like | CBC News
Synchrony Manage Account
Games R Us Dallas
Puffco Peak 3 Red Flashes
Can You Buy Pedialyte On Food Stamps
Stafford Rotoworld
Wrigley Rooftops Promo Code
Vocabulary Workshop Level B Unit 13 Choosing The Right Word
How Does The Common App Work? A Guide To The Common App
Best Restaurants West Bend
California Craigslist Cars For Sale By Owner
Tgirls Philly
Subdomain Finder
Jamesbonchai
Elven Steel Ore Sun Haven
Wzzm Weather Forecast
Mejores páginas para ver deportes gratis y online - VidaBytes
The Jazz Scene: Queen Clarinet: Interview with Doreen Ketchens – International Clarinet Association
Big Brother 23: Wiki, Vote, Cast, Release Date, Contestants, Winner, Elimination
Upcoming Live Online Auctions - Online Hunting Auctions
Predator revo radial owners
Latest Posts
Article information

Author: Twana Towne Ret

Last Updated:

Views: 6158

Rating: 4.3 / 5 (64 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.