Protocol & Consensus • Estimated 40m
TXID and WTXID
protocol.txid-vs-wtxid
SegWit transactions have two identifiers: the txid commits to the original serialization without witness data, while the wtxid commits to the serialization that includes witness data. If a transaction has no witness data the two IDs are the same, but when witness data exists the distinction matters for relay, tracking, and understanding why inputs still refer to previous outputs by txid.
Open visual node page • Browse the concept library
Curated resources (3)
- Bitcoin Core Academy: Transaction format in the mempool
- BIP 141: Segregated Witness
- Programming Bitcoin
Direct prerequisites (1)
Direct dependents (0)
- None