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
Unlock Your Earning Potential: Why Becoming an Insurance Agent is the Ultimate Side Hustle
What to Wear for Paintballing
Fat Hog Prices Today
Ghosted Imdb Parents Guide
Mercy MyPay (Online Pay Stubs) / mercy-mypay-online-pay-stubs.pdf / PDF4PRO
Large storage units
World History Kazwire
Enterprise Car Sales Jacksonville Used Cars
Lancasterfire Live Incidents
Diamond Piers Menards
DBZ Dokkan Battle Full-Power Tier List [All Cards Ranked]
Pekin Soccer Tournament
SF bay area cars & trucks "chevrolet 50" - craigslist
Aldi Bruce B Downs
Why do rebates take so long to process?
Evil Dead Rise Showtimes Near Regal Sawgrass & Imax
Reborn Rich Kissasian
Sadie Sink Reveals She Struggles With Imposter Syndrome
2487872771
Plost Dental
City Of Durham Recycling Schedule
Violent Night Showtimes Near Johnstown Movieplex
Saxies Lake Worth
Top 20 scariest Roblox games
Craigslist Fort Smith Ar Personals
Riverstock Apartments Photos
Weather Underground Durham
Insidious 5 Showtimes Near Cinemark Southland Center And Xd
R/Mp5
Busted! 29 New Arrests in Portsmouth, Ohio – 03/27/22 Scioto County Mugshots
Math Minor Umn
Of An Age Showtimes Near Alamo Drafthouse Sloans Lake
Glossytightsglamour
Natashas Bedroom - Slave Commands
Housing Intranet Unt
Levothyroxine Ati Template
Hometown Pizza Sheridan Menu
Japanese Big Natural Boobs
About My Father Showtimes Near Amc Rockford 16
Sofia With An F Mugshot
California Craigslist Cars For Sale By Owner
At Home Hourly Pay
The Attleboro Sun Chronicle Obituaries
Dickdrainersx Jessica Marie
Why Are The French So Google Feud Answers
Youravon Com Mi Cuenta
Rescare Training Online
DL381 Delta Air Lines Estado de vuelo Hoy y Historial 2024 | Trip.com
Mega Millions Lottery - Winning Numbers & Results
Windy Bee Favor
Congressional hopeful Aisha Mills sees district as an economical model
Divisadero Florist
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.