Glossary·Technical

Segregated Witness

The 2017 upgrade that moved signatures out of the data a transaction’s identifier commits to. It fixed malleability, discounted witness bytes to a quarter of their weight, and raised effective capacity without changing the stated block limit.

Before it, a transaction’s identifier was a hash of everything including its signatures, and signatures are not uniquely encoded. A third party could alter one while keeping it valid, changing the identifier of a transaction that did the same thing — which broke any protocol referring to an unconfirmed transaction by name.

That is why payment channels are downstream of this change rather than of any Lightning-specific work. A channel is built on transactions signed in advance that spend an output not yet confirmed, and that construction is impossible while identifiers can be altered by anyone relaying them.

The capacity change was structural rather than a raised number. The old limit was one megabyte of bytes; the new one is four million weight units, where witness bytes count one and everything else counts four. Old nodes still see a block under their limit, which is what made the change a soft fork.

The common misreading is that it doubled capacity. The gain depends entirely on how much of a transaction is witness data, which depends on the script types in use, and the practical increase has been well under the theoretical maximum because adoption took years.

Where this comes up

Used in

Nearby terms

Reviewed Nov 2026