Bitcoin Forum
May 14, 2024, 05:30:27 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Difference between version 1 and version 2 transactions?  (Read 379 times)
luv2drnkbr (OP)
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1016



View Profile
September 04, 2017, 09:55:43 PM
 #1

I've seen segwit transactions as both version 1 and version 2.  When should version 2 be used versus version 1?

Example version 2 tx:  c586389e5e4b3acb9d6c8be1c19ae8ab2795397633176f5a6442a261bbdefc3a

Example version 1 tx:  4ffb6404517ad30869f125b7f2f23a9058313d736a72a996b1381f1fe6f04e07

Both are in blocks on mainnet.

1715664627
Hero Member
*
Offline Offline

Posts: 1715664627

View Profile Personal Message (Offline)

Ignore
1715664627
Reply with quote  #2

1715664627
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715664627
Hero Member
*
Offline Offline

Posts: 1715664627

View Profile Personal Message (Offline)

Ignore
1715664627
Reply with quote  #2

1715664627
Report to moderator
1715664627
Hero Member
*
Offline Offline

Posts: 1715664627

View Profile Personal Message (Offline)

Ignore
1715664627
Reply with quote  #2

1715664627
Report to moderator
amaclin1
Sr. Member
****
Offline Offline

Activity: 770
Merit: 305


View Profile
September 05, 2017, 06:18:20 AM
 #2

OP_CSV has different behaviour on v1 and v2 transactions
for regular scripts and common used opcodes there is no difference between v1 and v2

Bitcoin SV GUI client for Windows and Linux
https://github.com/AlisterMaclin/bitcoin-sv/releases
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!