• About
  • FAQ
  • Earn Bitcoin while Surfing the net
  • Buy & Sell Crypto on Paxful
Newsletter
Approx Foundation
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
Approx Foundation
No Result
View All Result
Home Bitcoin

Why does Bitcoin use both a transaction ID and a witness transaction ID?

Moussa by Moussa
September 29, 2026
in Bitcoin
0
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


While learning Bitcoin transactions and SegWit, I came across the distinction between the traditional transaction ID (txid) and the witness transaction ID (wtxid).
I understand that the txid is the double-SHA256 hash of the serialized transaction excluding the witness data. andd wtxid commits to the transaction including the witness data. SegWit introdduced wtxid partly to solve transaction malleability issues.

Related articles

Poland’s Parliament Votes 240-202 To Let Officials Freeze Crypto Before Court Review

Poland’s Parliament Votes 240-202 To Let Officials Freeze Crypto Before Court Review

November 11, 2026
Trump Media’s $409M Profit Dwarfs Its $3M Revenue

Trump Media’s $409M Profit Dwarfs Its $3M Revenue

November 11, 2026

What I am having trouble understanding is why Bitcoin needs both identifiers instead of simply replacing txid with a hash that always commits to the witness data. For example, suppose a SegWit transaction has the same inputs and outputs but different witness data. The txid remains unchanged while the wtxid changes. I would like to understand the design consequences of this distinction…
What specifically would break if Bitcoin used only wtxid everywhere?
Why do transaction inputs continue to refer to previous outputs using txid:vout rather than wtxid:vout?
How does this distinction affect the mempool and transaction relay?
Why does the witness merkle tree in a block use wtxids while the normal merkle tree uses txids?
Is the separation primarily a backwards-compatibility decision, a consequence of how SegWit fixes malleability, or are there deeper protocol reasons?

I am particularly interested in the historical/design reasoning rather than just the definitions of txid and wtxid. References I’ve been reading so far include BIP141 and the Bitcoin transaction/SegWit sections of Mastering Bitcoin.



Source link

Share76Tweet47

Related Posts

Poland’s Parliament Votes 240-202 To Let Officials Freeze Crypto Before Court Review

Poland’s Parliament Votes 240-202 To Let Officials Freeze Crypto Before Court Review

by Moussa
November 11, 2026
0

Poland’s lower house of parliament voted 240-202 on Friday to let the interior minister freeze crypto assets, bank accounts and...

Trump Media’s $409M Profit Dwarfs Its $3M Revenue

Trump Media’s $409M Profit Dwarfs Its $3M Revenue

by Moussa
November 11, 2026
0

Key TakeawaysTrump Media’s $409.7 million quarterly profit was largely driven by non-cash investment gains.Trump Media’s revenue rose 205% to $3...

Poland’s Sejm Passes Pre-Court Crypto Freeze Bill 240-202

Poland’s Sejm Passes Pre-Court Crypto Freeze Bill 240-202

by Moussa
November 11, 2026
0

Poland’s Sejm voted 240-202 on November 6 to pass the Act on Restrictive Measures, which lets the interior minister freeze...

Bitcoin Safe-Haven Narrative Is Falling Apart? Liquidations and ETF Outflows Wipe Out Bulls

Bitcoin Safe-Haven Narrative Is Falling Apart? Liquidations and ETF Outflows Wipe Out Bulls

by Moussa
November 11, 2026
0

Bitcoin is taking another beating as inflation fears, institutional withdrawals, and leveraged liquidations send its price lower. The world’s largest...

Bitcoin Whales Sell $2.6 Billion In BTC – Is A Price Reversal Coming?

Bitcoin Whales Sell $2.6 Billion In BTC – Is A Price Reversal Coming?

by Moussa
November 11, 2026
0

Trusted Editorial content, reviewed by leading industry experts and seasoned editors. Ad Disclosure Bitcoin whales have reduced their holdings by...

Load More

youssufi.com

sephina.com

[vc_row full_width="stretch_row" parallax="content-moving" vc_row_background="" background_repeat="no-repeat" background_position="center center" footer_scheme="dark" css=".vc_custom_1517813231908{padding-top: 60px !important;padding-bottom: 30px !important;background-color: #191818 !important;background-position: center;background-repeat: no-repeat !important;background-size: cover !important;}" footer_widget_title_color="#fcbf46" footer_button_bg="#fcb11e"][vc_column width="1/4"]

We bring you the latest in Crypto News

[/vc_column][vc_column width="1/4"][vc_wp_categories]
[/vc_column][vc_column width="1/4"][vc_wp_tagcloud taxonomy="post_tag"][/vc_column][vc_column width="1/4"]

Newsletter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UyMiUzRSUzQ2xhYmVsJTNFJTNDaW5wdXQlMjB0eXBlJTNEJTIyY2hlY2tib3glMjIlMjBuYW1lJTNEJTIybnklMjIlMjByZXF1aXJlZCUyMGNsYXNzJTNEJTIydG5wLXByaXZhY3klMjIlM0UlQzIlQTBCeSUyMGNvbnRpbnVpbmclMkMlMjB5b3UlMjBhY2NlcHQlMjB0aGUlMjBwcml2YWN5JTIwcG9saWN5JTNDJTJGbGFiZWwlM0UlM0MlMkZkaXYlM0UlM0NkaXYlMjBjbGFzcyUzRCUyMnRucC1maWVsZCUyMHRucC1maWVsZC1idXR0b24lMjIlM0UlM0NpbnB1dCUyMGNsYXNzJTNEJTIydG5wLXN1Ym1pdCUyMiUyMHR5cGUlM0QlMjJzdWJtaXQlMjIlMjB2YWx1ZSUzRCUyMlN1YnNjcmliZSUyMiUyMCUzRSUwQSUzQyUyRmRpdiUzRSUwQSUzQyUyRmZvcm0lM0UlMEElM0MlMkZkaXYlM0UlM0NiciUyRiUzRSUzQyUyRnAlM0U=[/vc_raw_html][/vc_column][/vc_row]
No Result
View All Result
  • Contact Us
  • Homepages
  • Business
  • Guide

© 2024 APPROX FOUNDATION - The Crypto Currency News