Protocol & Consensus • Estimated 35m
Transaction Witness Structure
protocol.witness-structure
The transaction-level witness serialization layout that stores one witness stack per input, including the marker, flag, item counts, and witness items that carry SegWit spending data outside the legacy input script.
Open visual node page
• Browse the concept library
Curated resources (3)
- BIP 141: Segregated Witness (article) Canonical specification for the marker, flag, witness vectors, and transaction serialization rules.
- Mastering Bitcoin: Transactions (article) Explains witness serialization, one witness stack per input, compactSize counts, and empty stacks for legacy inputs.
- Mastering Bitcoin (book) Provides the broader transaction-serialization context needed to understand witness-aware inputs and outputs.
Direct prerequisites (1)
Direct dependents (1)
Canonical site description: Interactive Bitcoin knowledge graph with prerequisites, curated resources, and structured topic pages.