Home / Blog / Glossary / SegWit (Segregated Witness)
💻 Blockchain & Technology
Bitcoin Educational Glossary

What is a SegWit (Segregated Witness)?

An upgrade that separated signature data from transaction data to solve transaction malleability and increase capacity.

Segregated Witness (SegWit) was a highly significant soft fork upgrade activated on the Bitcoin network in August 2017. It solved a critical bug called 'transaction malleability' (which allowed transaction IDs to be altered before confirmation). SegWit accomplished this by 'segregating' the cryptographic witness/signature data from the base transaction data. This restructuring also acted as a block size increase, allowing more transactions to fit into a single block without modifying the 1MB base limit. Resolving malleability paved the way for secure Layer 2 protocols like the Lightning Network.

Technical Integration & Blockchain Role

In the Bitcoin network, this component plays a critical role in maintaining the decentralized consensus ledger. Since every computer (node) running the software must agree on the exact history of transactions, rules governing this concept are strictly enforced. Any transaction or block that violates these rules is automatically discarded by the network, preventing any central authority from altering the blockchain.

This decentralized validation ensures that the network remains neutral and borderless, allowing anyone to transact without permission. Developers proposing changes to this mechanism must go through the Bitcoin Improvement Proposal (BIP) process, ensuring broad consensus is reached before any updates are activated.

Key Takeaways

  • Forms the backbone of the decentralized consensus mechanism.
  • Enforced independently by thousands of full nodes worldwide.
  • Secures the immutable transaction history against tampering and censorship.
💡

Pro-Tip / Best Practice

Always verify transaction details using an independent, open-source blockchain explorer to ensure your transaction is included in a block confirmed by the decentralized network.


Frequently Asked Questions

Q1: What do SegWit addresses look like?

SegWit addresses come in two formats: Nested SegWit (starting with '3') and Native SegWit/Bech32 (starting with 'bc1q'). Native SegWit addresses offer the lowest transaction fees.

Q2: Why was SegWit controversial?

Its activation occurred during the 'Blocksize War', a period of intense community debate about how to scale Bitcoin. Proponents of larger blocks wanted a hard fork to increase the block size limit, while SegWit supporters favored a backward-compatible soft fork.