Witness
The part of a transaction holding the signatures and other data proving its inputs may be spent, kept outside the data the transaction identifier commits to. Separating it fixed malleability, enabled layered protocols, and is why witness bytes are discounted.
Before SegWit, signatures sat inside each input and the transaction identifier was a hash of everything including them. Signatures are not uniquely encoded, so a third party could alter one while keeping it valid and change the identifier — leaving a transaction that did the same thing under a different name.
That broke anything referencing an unconfirmed transaction by id, which is precisely what payment channels must do: a channel is built on transactions signed in advance that spend an output not yet confirmed. Segregating the witness removed the problem by definition, and Lightning is downstream of that one change.
A second identifier covers the witness as well, and it is what the commitment in the coinbase uses, so the data is still committed to by the block — it is simply outside the name of the transaction.
The discount follows from what the data is for. A node that has validated a signature need not keep it, while every output it authorises must be stored for as long as it remains unspent. Charging less for the part that can be discarded is the design pushing toward the transaction shape that costs everyone else least.
Where this comes up
Used in
Nearby terms
- UTXO
- Private Key
- Digital Signature
- Full Node
- Mempool
- Confirmation
- Fee Market
- Hash Rate
- Difficulty Adjustment
- Consensus Rules
- Lightning Network
- Multisignature
- Proof of Work
- Output Descriptor
- Partially Signed Transaction
- Coinbase Transaction
- Reorganisation
- Dust
- Weight Unit
- Replace-by-Fee
- Taproot
- Schnorr Signature
- Soft Fork
- Hard Fork
- Merkle Root
- Derivation Path
- Cold Storage
- Block Header
- Segregated Witness
- Stale Block
- Watch-Only Wallet
- Coin Control
- Pruning
- Nonce
- Difficulty Target
- Change Output
- Address Reuse
- Light Client
- Mining Pool
- Script
- Assumeutxo
- Seed Phrase
- Timelock
- Covenant
- Sidechain
- Fee Rate
- Signature Hash
- Inscription
- Hot Wallet
Reviewed Nov 2026