SegWit, Explained

Published at: Sept. 28, 2019

Are there downsides to SegWit?

SegWit is associated with Bitcoin and its core principles, so its strengths and weaknesses will vary depending on who is observing it.

SegWit’s ability to give blocks more weight, or transaction density, relies on the idea that some blockchain data will be kept off the original chain, which is instead used as a sort of reference or index. Some believe that offloading data from the blockchain is already a failure, as it’s like admitting that blockchain alone can’t function. 

From this perspective, SegWit itself is a weakness infecting Bitcoin, and that’s why rather than implement SegWit, a piece of the community hard forked into a new blockchain called Bitcoin Cash in 2017.

Bitcoin Cash is essentially legacy Bitcoin before SegWit, and its scaling strategy is simply to increase the block size and keep all data on-chain. This is a decentralization strategy opposite that of the Bitcoin Core group, which sees SegWit as the first stack atop a multilayered blockchain. 

There are countless more ideas that riff off Bitcoin or Bitcoin Cash, or take a new tack. SegWit is simply one step in what the largest developer group of the largest cryptocurrency believes is the right path.

Will SegWit succeed?

As the Bitcoin price rises and the space gets busier, users are gravitating toward more efficient SegWit-enabled solutions, forcing companies to adopt.

Now that Bitcoin is slowly recovering from its 2018-2019 crash, the fees that users pay to transact are rising as well. Using SegWit-enabled wallets is preferable because the blocks of transactions processed by miners serving these wallets have a higher weight (i.e., density of transactions), resulting in speed and cost-effectiveness. The user migration to these SegWit wallets and tools has quickly accelerated. Since this time last year, SegWit usage has increased from 39% to over 50.5% 

No one wants to pay $5 to send a Bitcoin payment when they paid $0.40 for the same payment just six months ago. SegWit support is therefore a valued feature to look for among the larger variety of wallets and exchanges available. With more transactions on the Bitcoin blockchain becoming SegWit-enabled, using AsicBoost firmware or filtering out these transactions is no longer a profitable strategy for miners.

Why is SegWit adoption still incomplete?

SegWit hasn’t been fully adopted by all Bitcoin network participants because it isn’t mandatory, but also due to different incentives between users in the ecosystem. 

Despite the benefits of SegWit, not all participants in the Bitcoin network have implemented it. To understand why requires familiarity with the many roles that people play in the Bitcoin ecosystem and how sometimes the incentives behind them contradict one another. 

For example, Bitcoin doesn’t simply “upgrade” — it relies on wallets, exchanges and companies using it to upgrade themselves and push changes to the network accordingly. With no one mandating SegWit adoption, it’s up to engineering teams to nudge their organizations in the right direction, and this doesn’t always turn out as expected.

Billions were already behind Bitcoin by the time SegWit surfaced, so corporate bureaucracy saw only a small fraction of these companies act with any agility. The final decision on whether to “rock the boat” with new software updates and economics or to keep the status quo is in the hands of reluctant executives and not enthusiasts. Another misaligned incentive is that of the miners, who preferred to use AsicBoost firmware that was incompatible with SegWit but allegedly helped them to verify transactions up to 20% faster.

What’s a fork, and what did SegWit’s fork do?

A soft fork is a blockchain update made without splitting the chain in two, and SegWit’s increased the number of transactions in any Bitcoin block.

A fork is basically a modification made to open-source code. It introduces deviations to how the underlying project works from that point on, and they can be either soft forks or hard forks. Hard forks force a blockchain to be split in two by requiring participants to flat out reject blocks that aren’t compatible with the new software: The new chain is separate from the old. SegWit was a soft fork, meaning that there would still be a single Bitcoin blockchain to accept blocks from users who had or hadn’t yet enabled SegWit in their software.

SegWit fixed an issue called transaction malleability, which enabled BTC transaction data to be changed before the network processed these transactions. This would’ve created a bookkeeping nightmare. By allowing signature (i.e., “witness”) information to be stored outside of (i.e., “segregated” from) a block of relevant transactions yet still verify them, SegWit allows Bitcoin to keep the integrity of transactions while also packing more of them into any single 1 megabyte block. The result is a faster and safer Bitcoin.

What is SegWit?

SegWit — or Segregated Witness — is the name given to a Bitcoin (BTC) protocol upgrade, which was implemented on Aug. 23, 2017.

As in any decentralized blockchain, if Bitcoin’s algorithm needs updating, it’s up to the Bitcoin developers and contributors to agree on how and when to make changes together. Completed in this way, the SegWit protocol upgrade was designed to help Bitcoin scale and fix some bugs that represented a risk to its trustless characteristic. SegWit is most known for the way it updates how data is stored on Bitcoin’s blockchain.

Protocol updates like SegWit are an occasional reality for decentralized projects like Bitcoin and are unique to the blockchain space. For a centralized financial product, if the math behind it needs tweaking, an administrator or authority can simply make a unilateral change. Bitcoin, which exists because people support it remotely from around the world, must instead fork in new directions when enough users agree to update their software in the same manner.

Tags
Related Posts
88% of all BTC transfers are overpaying transaction fees
According to analysis by Mark “Murch” Erhardt of Chaincode Labs, 88% of all Bitcoin transaction inputs pay higher fees than are necessary. Erhardt bases his conclusion on data showing just 12% of transaction inputs use the SegWit format, which is less fee intensive than transacting with legacy inputs. Erhardt believes that a reliance on legacy transaction fees keeps Bitcoin blocks smaller than they could otherwise be, contributing to a seemingly growing backlog of unconfirmed transactions. A clogged up Bitcoin mempool containing 107 blocks worth of transactions at one point yesterday serves as a reminder that it is possible to save …
Blockchain / Feb. 11, 2021
Cryptocurrency Exchange BitMEX Enables Native SegWit Support
Cryptocurrency exchange BitMEX added support for native segregated witness (SegWit) addresses for Bitcoin (BTC) withdrawals, which lets users pay lower transaction fees. According to an announcement on Dec. 12, BitMEX now allows its users to withdraw Bitcoin to Bech32 addresses, the one that natively supports the segregated witness standard. Bitcoin address formats As the announcement explains, the Bitcoin network currently supports three address formats. The first one — Bitcoin’s original address format — is pay to public key hash (P2PKH), which starts with a 1. The second format is the pay to script hash (P2SH), which allows users to send …
Blockchain / Dec. 12, 2019
Share of SegWit-Spending Bitcoin Transactions Now Over 50%
The percentage of Segregated Witness (SegWit)-spending Bitcoin (BTC) transactions has reached 50.5%, or an all-time high, according to transactionfee.info statistics. SegWit solution to Bitcoin transactions SegWit is a proposed update to the Bitcoin Core, which is designed to reduce processing and wait times. Originally, the update was aimed at solving transaction malleability, a well-known weak spot in Bitcoin software. However, SegWit offers a range of other advantages and now the focus of attention has shifted from fixing transaction malleability to solving the problem of Bitcoin scaling. Explaining its metrics, transactionfee.info points out that a Bitcoin transaction can have multiple outputs …
Blockchain / Sept. 16, 2019
Bitcoin Block Size, Explained
Why did Bitcoin fork and split? The inability of the community to find consensus regarding a proposal to increase the block size resulted in a user-activated hard fork of the Bitcoin blockchain in August 2017. While numerous proposals advocating a change to the block size limit had failed to gather the support required to manifest change, transaction fees had skyrocketed by mid-2017. During August 2015, the average BTC transaction fee was just $0.50. However, by June 2017, median fees had increased 10x to approximate $5. With nearly half of the world’s population living on less than $5.50 per day, high …
Blockchain / July 24, 2019
Bitcoin transaction fees briefly doubled yet remain exceptionally low
Got some Satoshi to send or Bitcoin (BTC) wallets to reorganize? It’s increasingly cheap to do so. According to an Arcane Research report, Bitcoin “transaction fees have stayed low since July 2021, showing no signs of rising.” There was, however, a small bump in transaction fees last week. Shown as a small jump at the tail end of the graph, clustering of the mempool pushed “up the average transaction fees per day over the past seven days to $691,000, a doubling since last Tuesday.” Nonetheless, the doubling in transaction fees is insignificant: transaction fees remained in a low range. Miners …
Adoption / March 9, 2022