Segregated Witness [Segwit]

« Back to Glossary Index
Categories: Blockchain

SegWit is the label used for a soft fork implemented on some blockchain protocols, such as Bitcoin, which changes the transaction format so that it transfers parts of the transaction data out of the main block, thus reducing the effective size of transaction and thus allowing more transactions to fit into a single block without increasing the block size.

Segregated Witness (Wikipedia)

Segregated Witness, or SegWit, is the name used for an implemented soft fork change in the transaction format of Bitcoin.

SegWit logo

The formal title "Segregated Witness (Consensus layer)" had Bitcoin Improvement Proposal number BIP141. The declared purpose was to prevent nonintentional bitcoin transaction malleability, allow optional data transmission, and to bypass certain protocol restrictions (such as the block size limit) with a soft fork.

It was also intended to mitigate a blockchain size limitation problem that reduces bitcoin transaction speed. It does this by splitting the transaction into two segments, removing the unlocking signature ("witness" data) from the original portion and appending it as a separate structure at the end. The original section would continue to hold the sender and receiver data, and the new "witness" structure would contain scripts and signatures. The original data segment would be counted normally, but the "witness" segment would, in effect, be counted as a quarter of its real size.

« Back to Glossary Index
AskFX.com