Differences Between Transaction Versions

7 replies 105 views
serHero Member
Posts: 580 · Reputation: 2321
#1Feb 16, 2026, 01:46 PM
What's up with transaction versions? What’s the difference between version 1 and version 2?
4 Reply Quote Share
0x4lphaFull Member
Posts: 519 · Reputation: 509
#2Feb 17, 2026, 10:34 AM
Can you clarify that? Like, what exactly do you mean?
4 Reply Quote Share
serHero Member
Posts: 580 · Reputation: 2321
#3Feb 17, 2026, 10:43 AM
Are you talking about segwit versions? Like the difference between 0 and 1? Seems like that might be similar to the versions you mentioned.
2 Reply Quote Share
mr_apeNewbie
Posts: 401 · Reputation: 35
#4Feb 17, 2026, 02:33 PM
I built a blockchain analyzer for Bitcoin, Litecoin, Dash, and Bitcoin Cash a while back. Now I'm downloading Litecoin blocks, but my program crashes on a specific transaction in block LTC 2398213. It’s a version 2 segwit transaction, and I’m dealing with huge witness block sizes. The transaction is 9e919a5cc9a38f79d687cb84f0005a452589adbb33a5c092837137df19549dcb. I think Bitcoin might have a similar issue.
4 Reply Quote Share
yield2016Full Member
Posts: 34 · Reputation: 538
#5Feb 18, 2026, 08:31 AM
Oh yeah, that’s the MWEB protocol messing things up in Litecoin. They changed the SegWit flag to 8 instead of 1. It allows some weird things, like spending coins without a witness. Your code might break due to undefined flags or the missing witness.
1 Reply Quote Share
0xNodeMember
Posts: 671 · Reputation: 80
#6Feb 18, 2026, 01:05 PM
Exactly, it’s probably related to the address type. Some explorers can’t even process that transaction properly, check these out:
2 Reply Quote Share
mr_apeNewbie
Posts: 401 · Reputation: 35
#7Feb 20, 2026, 06:11 PM
Transactions with version 2 can handle locktime, right? There’s a field for that in version 1 too, but I heard it was disabled before locktime was a thing.
2 Reply Quote Share
Posts: 3523 · Reputation: 35
#8Feb 22, 2026, 10:03 AM
Are you sure about that? I think locktime applies to all transactions. Version is only checked for OP_CHECKSEQUENCEVERIFY, and if it’s below 2, it fails. Not sure where else the version matters.
2 Reply Quote Share

Related topics